| 1 |
typedef unsigned char __u_char; |
= |
1 |
typedef unsigned char __u_char; |
| 2 |
typedef unsigned short __u_short; |
|
2 |
typedef unsigned short __u_short; |
| 3 |
typedef unsigned int __u_int; |
|
3 |
typedef unsigned int __u_int; |
| 4 |
typedef unsigned long __u_long; |
|
4 |
typedef unsigned long __u_long; |
| 5 |
typedef signed char __int8_t; |
|
5 |
typedef signed char __int8_t; |
| 6 |
typedef unsigned char __uint8_t; |
|
6 |
typedef unsigned char __uint8_t; |
| 7 |
typedef short __int16_t; |
|
7 |
typedef short __int16_t; |
| 8 |
typedef unsigned short __uint16_t; |
|
8 |
typedef unsigned short __uint16_t; |
| 9 |
typedef int __int32_t; |
|
9 |
typedef int __int32_t; |
| 10 |
typedef unsigned int __uint32_t; |
|
10 |
typedef unsigned int __uint32_t; |
| 11 |
typedef long long __int64_t; |
|
11 |
typedef long long __int64_t; |
| 12 |
typedef unsigned long long __uint64_t; |
|
12 |
typedef unsigned long long __uint64_t; |
| 13 |
typedef long long __quad_t; |
|
13 |
typedef long long __quad_t; |
| 14 |
typedef unsigned long long __u_quad_t; |
|
14 |
typedef unsigned long long __u_quad_t; |
| 15 |
typedef __u_quad_t __dev_t; |
|
15 |
typedef __u_quad_t __dev_t; |
| 16 |
typedef unsigned int __uid_t; |
|
16 |
typedef unsigned int __uid_t; |
| 17 |
typedef unsigned int __gid_t; |
|
17 |
typedef unsigned int __gid_t; |
| 18 |
typedef unsigned long __ino_t; |
|
18 |
typedef unsigned long __ino_t; |
| 19 |
typedef __u_quad_t __ino64_t; |
|
19 |
typedef __u_quad_t __ino64_t; |
| 20 |
typedef unsigned int __mode_t; |
|
20 |
typedef unsigned int __mode_t; |
| 21 |
typedef unsigned int __nlink_t; |
|
21 |
typedef unsigned int __nlink_t; |
| 22 |
typedef long __off_t; |
|
22 |
typedef long __off_t; |
| 23 |
typedef __quad_t __off64_t; |
|
23 |
typedef __quad_t __off64_t; |
| 24 |
typedef int __pid_t; |
|
24 |
typedef int __pid_t; |
| 25 |
struct __anonstruct___fsid_t_1 { |
|
25 |
struct __anonstruct___fsid_t_1 { |
| 26 |
int __val[2] ; |
|
26 |
int __val[2] ; |
| 27 |
}; |
|
27 |
}; |
| 28 |
typedef struct __anonstruct___fsid_t_1 __fsid_t; |
|
28 |
typedef struct __anonstruct___fsid_t_1 __fsid_t; |
| 29 |
typedef long __clock_t; |
|
29 |
typedef long __clock_t; |
| 30 |
typedef unsigned long __rlim_t; |
|
30 |
typedef unsigned long __rlim_t; |
| 31 |
typedef __u_quad_t __rlim64_t; |
|
31 |
typedef __u_quad_t __rlim64_t; |
| 32 |
typedef unsigned int __id_t; |
|
32 |
typedef unsigned int __id_t; |
| 33 |
typedef long __time_t; |
|
33 |
typedef long __time_t; |
| 34 |
typedef unsigned int __useconds_t; |
|
34 |
typedef unsigned int __useconds_t; |
| 35 |
typedef long __suseconds_t; |
|
35 |
typedef long __suseconds_t; |
| 36 |
typedef int __daddr_t; |
|
36 |
typedef int __daddr_t; |
| 37 |
typedef long __swblk_t; |
|
37 |
typedef long __swblk_t; |
| 38 |
typedef int __key_t; |
|
38 |
typedef int __key_t; |
| 39 |
typedef int __clockid_t; |
|
39 |
typedef int __clockid_t; |
| 40 |
typedef void *__timer_t; |
|
40 |
typedef void *__timer_t; |
| 41 |
typedef long __blksize_t; |
|
41 |
typedef long __blksize_t; |
| 42 |
typedef long __blkcnt_t; |
|
42 |
typedef long __blkcnt_t; |
| 43 |
typedef __quad_t __blkcnt64_t; |
|
43 |
typedef __quad_t __blkcnt64_t; |
| 44 |
typedef unsigned long __fsblkcnt_t; |
|
44 |
typedef unsigned long __fsblkcnt_t; |
| 45 |
typedef __u_quad_t __fsblkcnt64_t; |
|
45 |
typedef __u_quad_t __fsblkcnt64_t; |
| 46 |
typedef unsigned long __fsfilcnt_t; |
|
46 |
typedef unsigned long __fsfilcnt_t; |
| 47 |
typedef __u_quad_t __fsfilcnt64_t; |
|
47 |
typedef __u_quad_t __fsfilcnt64_t; |
| 48 |
typedef int __ssize_t; |
|
48 |
typedef int __ssize_t; |
| 49 |
typedef __off64_t __loff_t; |
|
49 |
typedef __off64_t __loff_t; |
| 50 |
typedef __quad_t *__qaddr_t; |
|
50 |
typedef __quad_t *__qaddr_t; |
| 51 |
typedef char *__caddr_t; |
|
51 |
typedef char *__caddr_t; |
| 52 |
typedef int __intptr_t; |
|
52 |
typedef int __intptr_t; |
| 53 |
typedef unsigned int __socklen_t; |
|
53 |
typedef unsigned int __socklen_t; |
| 54 |
enum __anonenum_2 { |
|
54 |
enum __anonenum_2 { |
| 55 |
_ISupper = 256, |
|
55 |
_ISupper = 256, |
| 56 |
_ISlower = 512, |
|
56 |
_ISlower = 512, |
| 57 |
_ISalpha = 1024, |
|
57 |
_ISalpha = 1024, |
| 58 |
_ISdigit = 2048, |
|
58 |
_ISdigit = 2048, |
| 59 |
_ISxdigit = 4096, |
|
59 |
_ISxdigit = 4096, |
| 60 |
_ISspace = 8192, |
|
60 |
_ISspace = 8192, |
| 61 |
_ISprint = 16384, |
|
61 |
_ISprint = 16384, |
| 62 |
_ISgraph = 32768, |
|
62 |
_ISgraph = 32768, |
| 63 |
_ISblank = 1, |
|
63 |
_ISblank = 1, |
| 64 |
_IScntrl = 2, |
|
64 |
_IScntrl = 2, |
| 65 |
_ISpunct = 4, |
|
65 |
_ISpunct = 4, |
| 66 |
_ISalnum = 8 |
|
66 |
_ISalnum = 8 |
| 67 |
} ; |
|
67 |
} ; |
| 68 |
struct __locale_data; |
|
68 |
struct __locale_data; |
| 69 |
struct __locale_struct { |
|
69 |
struct __locale_struct { |
| 70 |
struct __locale_data *__locales[13] ; |
|
70 |
struct __locale_data *__locales[13] ; |
| 71 |
unsigned short const *__ctype_b ; |
|
71 |
unsigned short const *__ctype_b ; |
| 72 |
int const *__ctype_tolower ; |
|
72 |
int const *__ctype_tolower ; |
| 73 |
int const *__ctype_toupper ; |
|
73 |
int const *__ctype_toupper ; |
| 74 |
char const *__names[13] ; |
|
74 |
char const *__names[13] ; |
| 75 |
}; |
|
75 |
}; |
| 76 |
typedef struct __locale_struct *__locale_t; |
|
76 |
typedef struct __locale_struct *__locale_t; |
| 77 |
typedef __locale_t locale_t; |
|
77 |
typedef __locale_t locale_t; |
| 78 |
typedef __u_char u_char; |
|
78 |
typedef __u_char u_char; |
| 79 |
typedef __u_short u_short; |
|
79 |
typedef __u_short u_short; |
| 80 |
typedef __u_int u_int; |
|
80 |
typedef __u_int u_int; |
| 81 |
typedef __u_long u_long; |
|
81 |
typedef __u_long u_long; |
| 82 |
typedef __quad_t quad_t; |
|
82 |
typedef __quad_t quad_t; |
| 83 |
typedef __u_quad_t u_quad_t; |
|
83 |
typedef __u_quad_t u_quad_t; |
| 84 |
typedef __fsid_t fsid_t; |
|
84 |
typedef __fsid_t fsid_t; |
| 85 |
typedef __loff_t loff_t; |
|
85 |
typedef __loff_t loff_t; |
| 86 |
typedef __ino64_t ino_t; |
|
86 |
typedef __ino64_t ino_t; |
| 87 |
typedef __ino64_t ino64_t; |
|
87 |
typedef __ino64_t ino64_t; |
| 88 |
typedef __dev_t dev_t; |
|
88 |
typedef __dev_t dev_t; |
| 89 |
typedef __gid_t gid_t; |
|
89 |
typedef __gid_t gid_t; |
| 90 |
typedef __mode_t mode_t; |
|
90 |
typedef __mode_t mode_t; |
| 91 |
typedef __nlink_t nlink_t; |
|
91 |
typedef __nlink_t nlink_t; |
| 92 |
typedef __uid_t uid_t; |
|
92 |
typedef __uid_t uid_t; |
| 93 |
typedef __off64_t off_t; |
|
93 |
typedef __off64_t off_t; |
| 94 |
typedef __off64_t off64_t; |
|
94 |
typedef __off64_t off64_t; |
| 95 |
typedef __pid_t pid_t; |
|
95 |
typedef __pid_t pid_t; |
| 96 |
typedef __id_t id_t; |
|
96 |
typedef __id_t id_t; |
| 97 |
typedef __ssize_t ssize_t; |
|
97 |
typedef __ssize_t ssize_t; |
| 98 |
typedef __daddr_t daddr_t; |
|
98 |
typedef __daddr_t daddr_t; |
| 99 |
typedef __caddr_t caddr_t; |
|
99 |
typedef __caddr_t caddr_t; |
| 100 |
typedef __key_t key_t; |
|
100 |
typedef __key_t key_t; |
| 101 |
typedef __clock_t clock_t; |
|
101 |
typedef __clock_t clock_t; |
| 102 |
typedef __time_t time_t; |
|
102 |
typedef __time_t time_t; |
| 103 |
typedef __clockid_t clockid_t; |
|
103 |
typedef __clockid_t clockid_t; |
| 104 |
typedef __timer_t timer_t; |
|
104 |
typedef __timer_t timer_t; |
| 105 |
typedef __useconds_t useconds_t; |
|
105 |
typedef __useconds_t useconds_t; |
| 106 |
typedef __suseconds_t suseconds_t; |
|
106 |
typedef __suseconds_t suseconds_t; |
| 107 |
typedef unsigned int size_t; |
|
107 |
typedef unsigned int size_t; |
| 108 |
typedef unsigned long ulong; |
|
108 |
typedef unsigned long ulong; |
| 109 |
typedef unsigned short ushort; |
|
109 |
typedef unsigned short ushort; |
| 110 |
typedef unsigned int uint; |
|
110 |
typedef unsigned int uint; |
| 111 |
typedef signed char int8_t; |
|
111 |
typedef signed char int8_t; |
| 112 |
typedef short int16_t; |
|
112 |
typedef short int16_t; |
| 113 |
typedef int int32_t; |
|
113 |
typedef int int32_t; |
| 114 |
typedef long long int64_t; |
|
114 |
typedef long long int64_t; |
| 115 |
typedef unsigned char u_int8_t; |
|
115 |
typedef unsigned char u_int8_t; |
| 116 |
typedef unsigned short u_int16_t; |
|
116 |
typedef unsigned short u_int16_t; |
| 117 |
typedef unsigned int u_int32_t; |
|
117 |
typedef unsigned int u_int32_t; |
| 118 |
typedef unsigned long long u_int64_t; |
|
118 |
typedef unsigned long long u_int64_t; |
| 119 |
typedef int register_t; |
|
119 |
typedef int register_t; |
| 120 |
typedef int __sig_atomic_t; |
|
120 |
typedef int __sig_atomic_t; |
| 121 |
struct __anonstruct___sigset_t_3 { |
|
121 |
struct __anonstruct___sigset_t_3 { |
| 122 |
unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ; |
|
122 |
unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ; |
| 123 |
}; |
|
123 |
}; |
| 124 |
typedef struct __anonstruct___sigset_t_3 __sigset_t; |
|
124 |
typedef struct __anonstruct___sigset_t_3 __sigset_t; |
| 125 |
typedef __sigset_t sigset_t; |
|
125 |
typedef __sigset_t sigset_t; |
| 126 |
struct timespec { |
|
126 |
struct timespec { |
| 127 |
__time_t tv_sec ; |
|
127 |
__time_t tv_sec ; |
| 128 |
long tv_nsec ; |
|
128 |
long tv_nsec ; |
| 129 |
}; |
|
129 |
}; |
| 130 |
struct timeval { |
|
130 |
struct timeval { |
| 131 |
__time_t tv_sec ; |
|
131 |
__time_t tv_sec ; |
| 132 |
__suseconds_t tv_usec ; |
|
132 |
__suseconds_t tv_usec ; |
| 133 |
}; |
|
133 |
}; |
| 134 |
typedef long __fd_mask; |
|
134 |
typedef long __fd_mask; |
| 135 |
struct __anonstruct_fd_set_4 { |
|
135 |
struct __anonstruct_fd_set_4 { |
| 136 |
__fd_mask fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ; |
|
136 |
__fd_mask fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ; |
| 137 |
}; |
|
137 |
}; |
| 138 |
typedef struct __anonstruct_fd_set_4 fd_set; |
|
138 |
typedef struct __anonstruct_fd_set_4 fd_set; |
| 139 |
typedef __fd_mask fd_mask; |
|
139 |
typedef __fd_mask fd_mask; |
| 140 |
typedef __blksize_t blksize_t; |
|
140 |
typedef __blksize_t blksize_t; |
| 141 |
typedef __blkcnt64_t blkcnt_t; |
|
141 |
typedef __blkcnt64_t blkcnt_t; |
| 142 |
typedef __fsblkcnt64_t fsblkcnt_t; |
|
142 |
typedef __fsblkcnt64_t fsblkcnt_t; |
| 143 |
typedef __fsfilcnt64_t fsfilcnt_t; |
|
143 |
typedef __fsfilcnt64_t fsfilcnt_t; |
| 144 |
typedef __blkcnt64_t blkcnt64_t; |
|
144 |
typedef __blkcnt64_t blkcnt64_t; |
| 145 |
typedef __fsblkcnt64_t fsblkcnt64_t; |
|
145 |
typedef __fsblkcnt64_t fsblkcnt64_t; |
| 146 |
typedef __fsfilcnt64_t fsfilcnt64_t; |
|
146 |
typedef __fsfilcnt64_t fsfilcnt64_t; |
| 147 |
typedef unsigned long pthread_t; |
|
147 |
typedef unsigned long pthread_t; |
| 148 |
union __anonunion_pthread_attr_t_5 { |
|
148 |
union __anonunion_pthread_attr_t_5 { |
| 149 |
char __size[36] ; |
|
149 |
char __size[36] ; |
| 150 |
long __align ; |
|
150 |
long __align ; |
| 151 |
}; |
|
151 |
}; |
| 152 |
typedef union __anonunion_pthread_attr_t_5 pthread_attr_t; |
|
152 |
typedef union __anonunion_pthread_attr_t_5 pthread_attr_t; |
| 153 |
struct __pthread_internal_slist { |
|
153 |
struct __pthread_internal_slist { |
| 154 |
struct __pthread_internal_slist *__next ; |
|
154 |
struct __pthread_internal_slist *__next ; |
| 155 |
}; |
|
155 |
}; |
| 156 |
typedef struct __pthread_internal_slist __pthread_slist_t; |
|
156 |
typedef struct __pthread_internal_slist __pthread_slist_t; |
| 157 |
union __anonunion____missing_field_name_7 { |
|
157 |
union __anonunion____missing_field_name_7 { |
| 158 |
int __spins ; |
|
158 |
int __spins ; |
| 159 |
__pthread_slist_t __list ; |
|
159 |
__pthread_slist_t __list ; |
| 160 |
}; |
|
160 |
}; |
| 161 |
struct __pthread_mutex_s { |
|
161 |
struct __pthread_mutex_s { |
| 162 |
int __lock ; |
|
162 |
int __lock ; |
| 163 |
unsigned int __count ; |
|
163 |
unsigned int __count ; |
| 164 |
int __owner ; |
|
164 |
int __owner ; |
| 165 |
int __kind ; |
|
165 |
int __kind ; |
| 166 |
unsigned int __nusers ; |
|
166 |
unsigned int __nusers ; |
| 167 |
union __anonunion____missing_field_name_7 __annonCompField1 ; |
|
167 |
union __anonunion____missing_field_name_7 __annonCompField1 ; |
| 168 |
}; |
|
168 |
}; |
| 169 |
union __anonunion_pthread_mutex_t_6 { |
|
169 |
union __anonunion_pthread_mutex_t_6 { |
| 170 |
struct __pthread_mutex_s __data ; |
|
170 |
struct __pthread_mutex_s __data ; |
| 171 |
char __size[24] ; |
|
171 |
char __size[24] ; |
| 172 |
long __align ; |
|
172 |
long __align ; |
| 173 |
}; |
|
173 |
}; |
| 174 |
typedef union __anonunion_pthread_mutex_t_6 pthread_mutex_t; |
|
174 |
typedef union __anonunion_pthread_mutex_t_6 pthread_mutex_t; |
| 175 |
union __anonunion_pthread_mutexattr_t_8 { |
|
175 |
union __anonunion_pthread_mutexattr_t_8 { |
| 176 |
char __size[4] ; |
|
176 |
char __size[4] ; |
| 177 |
long __align ; |
|
177 |
long __align ; |
| 178 |
}; |
|
178 |
}; |
| 179 |
typedef union __anonunion_pthread_mutexattr_t_8 pthread_mutexattr_t; |
|
179 |
typedef union __anonunion_pthread_mutexattr_t_8 pthread_mutexattr_t; |
| 180 |
struct __anonstruct___data_10 { |
|
180 |
struct __anonstruct___data_10 { |
| 181 |
int __lock ; |
|
181 |
int __lock ; |
| 182 |
unsigned int __futex ; |
|
182 |
unsigned int __futex ; |
| 183 |
unsigned long long __total_seq ; |
|
183 |
unsigned long long __total_seq ; |
| 184 |
unsigned long long __wakeup_seq ; |
|
184 |
unsigned long long __wakeup_seq ; |
| 185 |
unsigned long long __woken_seq ; |
|
185 |
unsigned long long __woken_seq ; |
| 186 |
void *__mutex ; |
|
186 |
void *__mutex ; |
| 187 |
unsigned int __nwaiters ; |
|
187 |
unsigned int __nwaiters ; |
| 188 |
unsigned int __broadcast_seq ; |
|
188 |
unsigned int __broadcast_seq ; |
| 189 |
}; |
|
189 |
}; |
| 190 |
union __anonunion_pthread_cond_t_9 { |
|
190 |
union __anonunion_pthread_cond_t_9 { |
| 191 |
struct __anonstruct___data_10 __data ; |
|
191 |
struct __anonstruct___data_10 __data ; |
| 192 |
char __size[48] ; |
|
192 |
char __size[48] ; |
| 193 |
long long __align ; |
|
193 |
long long __align ; |
| 194 |
}; |
|
194 |
}; |
| 195 |
typedef union __anonunion_pthread_cond_t_9 pthread_cond_t; |
|
195 |
typedef union __anonunion_pthread_cond_t_9 pthread_cond_t; |
| 196 |
union __anonunion_pthread_condattr_t_11 { |
|
196 |
union __anonunion_pthread_condattr_t_11 { |
| 197 |
char __size[4] ; |
|
197 |
char __size[4] ; |
| 198 |
long __align ; |
|
198 |
long __align ; |
| 199 |
}; |
|
199 |
}; |
| 200 |
typedef union __anonunion_pthread_condattr_t_11 pthread_condattr_t; |
|
200 |
typedef union __anonunion_pthread_condattr_t_11 pthread_condattr_t; |
| 201 |
typedef unsigned int pthread_key_t; |
|
201 |
typedef unsigned int pthread_key_t; |
| 202 |
typedef int pthread_once_t; |
|
202 |
typedef int pthread_once_t; |
| 203 |
struct __anonstruct___data_13 { |
|
203 |
struct __anonstruct___data_13 { |
| 204 |
int __lock ; |
|
204 |
int __lock ; |
| 205 |
unsigned int __nr_readers ; |
|
205 |
unsigned int __nr_readers ; |
| 206 |
unsigned int __readers_wakeup ; |
|
206 |
unsigned int __readers_wakeup ; |
| 207 |
unsigned int __writer_wakeup ; |
|
207 |
unsigned int __writer_wakeup ; |
| 208 |
unsigned int __nr_readers_queued ; |
|
208 |
unsigned int __nr_readers_queued ; |
| 209 |
unsigned int __nr_writers_queued ; |
|
209 |
unsigned int __nr_writers_queued ; |
| 210 |
unsigned char __flags ; |
|
210 |
unsigned char __flags ; |
| 211 |
unsigned char __shared ; |
|
211 |
unsigned char __shared ; |
| 212 |
unsigned char __pad1 ; |
|
212 |
unsigned char __pad1 ; |
| 213 |
unsigned char __pad2 ; |
|
213 |
unsigned char __pad2 ; |
| 214 |
int __writer ; |
|
214 |
int __writer ; |
| 215 |
}; |
|
215 |
}; |
| 216 |
union __anonunion_pthread_rwlock_t_12 { |
|
216 |
union __anonunion_pthread_rwlock_t_12 { |
| 217 |
struct __anonstruct___data_13 __data ; |
|
217 |
struct __anonstruct___data_13 __data ; |
| 218 |
char __size[32] ; |
|
218 |
char __size[32] ; |
| 219 |
long __align ; |
|
219 |
long __align ; |
| 220 |
}; |
|
220 |
}; |
| 221 |
typedef union __anonunion_pthread_rwlock_t_12 pthread_rwlock_t; |
|
221 |
typedef union __anonunion_pthread_rwlock_t_12 pthread_rwlock_t; |
| 222 |
union __anonunion_pthread_rwlockattr_t_14 { |
|
222 |
union __anonunion_pthread_rwlockattr_t_14 { |
| 223 |
char __size[8] ; |
|
223 |
char __size[8] ; |
| 224 |
long __align ; |
|
224 |
long __align ; |
| 225 |
}; |
|
225 |
}; |
| 226 |
typedef union __anonunion_pthread_rwlockattr_t_14 pthread_rwlockattr_t; |
|
226 |
typedef union __anonunion_pthread_rwlockattr_t_14 pthread_rwlockattr_t; |
| 227 |
typedef int volatile pthread_spinlock_t; |
|
227 |
typedef int volatile pthread_spinlock_t; |
| 228 |
union __anonunion_pthread_barrier_t_15 { |
|
228 |
union __anonunion_pthread_barrier_t_15 { |
| 229 |
char __size[20] ; |
|
229 |
char __size[20] ; |
| 230 |
long __align ; |
|
230 |
long __align ; |
| 231 |
}; |
|
231 |
}; |
| 232 |
typedef union __anonunion_pthread_barrier_t_15 pthread_barrier_t; |
|
232 |
typedef union __anonunion_pthread_barrier_t_15 pthread_barrier_t; |
| 233 |
union __anonunion_pthread_barrierattr_t_16 { |
|
233 |
union __anonunion_pthread_barrierattr_t_16 { |
| 234 |
char __size[4] ; |
|
234 |
char __size[4] ; |
| 235 |
int __align ; |
|
235 |
int __align ; |
| 236 |
}; |
|
236 |
}; |
| 237 |
typedef union __anonunion_pthread_barrierattr_t_16 pthread_barrierattr_t; |
|
237 |
typedef union __anonunion_pthread_barrierattr_t_16 pthread_barrierattr_t; |
| 238 |
typedef __sig_atomic_t sig_atomic_t; |
|
238 |
typedef __sig_atomic_t sig_atomic_t; |
| 239 |
union sigval { |
|
239 |
union sigval { |
| 240 |
int sival_int ; |
|
240 |
int sival_int ; |
| 241 |
void *sival_ptr ; |
|
241 |
void *sival_ptr ; |
| 242 |
}; |
|
242 |
}; |
| 243 |
typedef union sigval sigval_t; |
|
243 |
typedef union sigval sigval_t; |
| 244 |
struct __anonstruct__kill_18 { |
|
244 |
struct __anonstruct__kill_18 { |
| 245 |
__pid_t si_pid ; |
|
245 |
__pid_t si_pid ; |
| 246 |
__uid_t si_uid ; |
|
246 |
__uid_t si_uid ; |
| 247 |
}; |
|
247 |
}; |
| 248 |
struct __anonstruct__timer_19 { |
|
248 |
struct __anonstruct__timer_19 { |
| 249 |
int si_tid ; |
|
249 |
int si_tid ; |
| 250 |
int si_overrun ; |
|
250 |
int si_overrun ; |
| 251 |
sigval_t si_sigval ; |
|
251 |
sigval_t si_sigval ; |
| 252 |
}; |
|
252 |
}; |
| 253 |
struct __anonstruct__rt_20 { |
|
253 |
struct __anonstruct__rt_20 { |
| 254 |
__pid_t si_pid ; |
|
254 |
__pid_t si_pid ; |
| 255 |
__uid_t si_uid ; |
|
255 |
__uid_t si_uid ; |
| 256 |
sigval_t si_sigval ; |
|
256 |
sigval_t si_sigval ; |
| 257 |
}; |
|
257 |
}; |
| 258 |
struct __anonstruct__sigchld_21 { |
|
258 |
struct __anonstruct__sigchld_21 { |
| 259 |
__pid_t si_pid ; |
|
259 |
__pid_t si_pid ; |
| 260 |
__uid_t si_uid ; |
|
260 |
__uid_t si_uid ; |
| 261 |
int si_status ; |
|
261 |
int si_status ; |
| 262 |
__clock_t si_utime ; |
|
262 |
__clock_t si_utime ; |
| 263 |
__clock_t si_stime ; |
|
263 |
__clock_t si_stime ; |
| 264 |
}; |
|
264 |
}; |
| 265 |
struct __anonstruct__sigfault_22 { |
|
265 |
struct __anonstruct__sigfault_22 { |
| 266 |
void *si_addr ; |
|
266 |
void *si_addr ; |
| 267 |
}; |
|
267 |
}; |
| 268 |
struct __anonstruct__sigpoll_23 { |
|
268 |
struct __anonstruct__sigpoll_23 { |
| 269 |
long si_band ; |
|
269 |
long si_band ; |
| 270 |
int si_fd ; |
|
270 |
int si_fd ; |
| 271 |
}; |
|
271 |
}; |
| 272 |
union __anonunion__sifields_17 { |
|
272 |
union __anonunion__sifields_17 { |
| 273 |
int _pad[128U / sizeof(int ) - 3U] ; |
|
273 |
int _pad[128U / sizeof(int ) - 3U] ; |
| 274 |
struct __anonstruct__kill_18 _kill ; |
|
274 |
struct __anonstruct__kill_18 _kill ; |
| 275 |
struct __anonstruct__timer_19 _timer ; |
|
275 |
struct __anonstruct__timer_19 _timer ; |
| 276 |
struct __anonstruct__rt_20 _rt ; |
|
276 |
struct __anonstruct__rt_20 _rt ; |
| 277 |
struct __anonstruct__sigchld_21 _sigchld ; |
|
277 |
struct __anonstruct__sigchld_21 _sigchld ; |
| 278 |
struct __anonstruct__sigfault_22 _sigfault ; |
|
278 |
struct __anonstruct__sigfault_22 _sigfault ; |
| 279 |
struct __anonstruct__sigpoll_23 _sigpoll ; |
|
279 |
struct __anonstruct__sigpoll_23 _sigpoll ; |
| 280 |
}; |
|
280 |
}; |
| 281 |
struct siginfo { |
|
281 |
struct siginfo { |
| 282 |
int si_signo ; |
|
282 |
int si_signo ; |
| 283 |
int si_errno ; |
|
283 |
int si_errno ; |
| 284 |
int si_code ; |
|
284 |
int si_code ; |
| 285 |
union __anonunion__sifields_17 _sifields ; |
|
285 |
union __anonunion__sifields_17 _sifields ; |
| 286 |
}; |
|
286 |
}; |
| 287 |
typedef struct siginfo siginfo_t; |
|
287 |
typedef struct siginfo siginfo_t; |
| 288 |
enum __anonenum_24 { |
|
288 |
enum __anonenum_24 { |
| 289 |
SI_ASYNCNL = -60, |
|
289 |
SI_ASYNCNL = -60, |
| 290 |
SI_TKILL = -6, |
|
290 |
SI_TKILL = -6, |
| 291 |
SI_SIGIO = -5, |
|
291 |
SI_SIGIO = -5, |
| 292 |
SI_ASYNCIO = -4, |
|
292 |
SI_ASYNCIO = -4, |
| 293 |
SI_MESGQ = -3, |
|
293 |
SI_MESGQ = -3, |
| 294 |
SI_TIMER = -2, |
|
294 |
SI_TIMER = -2, |
| 295 |
SI_QUEUE = -1, |
|
295 |
SI_QUEUE = -1, |
| 296 |
SI_USER = 0, |
|
296 |
SI_USER = 0, |
| 297 |
SI_KERNEL = 128 |
|
297 |
SI_KERNEL = 128 |
| 298 |
} ; |
|
298 |
} ; |
| 299 |
enum __anonenum_25 { |
|
299 |
enum __anonenum_25 { |
| 300 |
ILL_ILLOPC = 1, |
|
300 |
ILL_ILLOPC = 1, |
| 301 |
ILL_ILLOPN = 2, |
|
301 |
ILL_ILLOPN = 2, |
| 302 |
ILL_ILLADR = 3, |
|
302 |
ILL_ILLADR = 3, |
| 303 |
ILL_ILLTRP = 4, |
|
303 |
ILL_ILLTRP = 4, |
| 304 |
ILL_PRVOPC = 5, |
|
304 |
ILL_PRVOPC = 5, |
| 305 |
ILL_PRVREG = 6, |
|
305 |
ILL_PRVREG = 6, |
| 306 |
ILL_COPROC = 7, |
|
306 |
ILL_COPROC = 7, |
| 307 |
ILL_BADSTK = 8 |
|
307 |
ILL_BADSTK = 8 |
| 308 |
} ; |
|
308 |
} ; |
| 309 |
enum __anonenum_26 { |
|
309 |
enum __anonenum_26 { |
| 310 |
FPE_INTDIV = 1, |
|
310 |
FPE_INTDIV = 1, |
| 311 |
FPE_INTOVF = 2, |
|
311 |
FPE_INTOVF = 2, |
| 312 |
FPE_FLTDIV = 3, |
|
312 |
FPE_FLTDIV = 3, |
| 313 |
FPE_FLTOVF = 4, |
|
313 |
FPE_FLTOVF = 4, |
| 314 |
FPE_FLTUND = 5, |
|
314 |
FPE_FLTUND = 5, |
| 315 |
FPE_FLTRES = 6, |
|
315 |
FPE_FLTRES = 6, |
| 316 |
FPE_FLTINV = 7, |
|
316 |
FPE_FLTINV = 7, |
| 317 |
FPE_FLTSUB = 8 |
|
317 |
FPE_FLTSUB = 8 |
| 318 |
} ; |
|
318 |
} ; |
| 319 |
enum __anonenum_27 { |
|
319 |
enum __anonenum_27 { |
| 320 |
SEGV_MAPERR = 1, |
|
320 |
SEGV_MAPERR = 1, |
| 321 |
SEGV_ACCERR = 2 |
|
321 |
SEGV_ACCERR = 2 |
| 322 |
} ; |
|
322 |
} ; |
| 323 |
enum __anonenum_28 { |
|
323 |
enum __anonenum_28 { |
| 324 |
BUS_ADRALN = 1, |
|
324 |
BUS_ADRALN = 1, |
| 325 |
BUS_ADRERR = 2, |
|
325 |
BUS_ADRERR = 2, |
| 326 |
BUS_OBJERR = 3 |
|
326 |
BUS_OBJERR = 3 |
| 327 |
} ; |
|
327 |
} ; |
| 328 |
enum __anonenum_29 { |
|
328 |
enum __anonenum_29 { |
| 329 |
TRAP_BRKPT = 1, |
|
329 |
TRAP_BRKPT = 1, |
| 330 |
TRAP_TRACE = 2 |
|
330 |
TRAP_TRACE = 2 |
| 331 |
} ; |
|
331 |
} ; |
| 332 |
enum __anonenum_30 { |
|
332 |
enum __anonenum_30 { |
| 333 |
CLD_EXITED = 1, |
|
333 |
CLD_EXITED = 1, |
| 334 |
CLD_KILLED = 2, |
|
334 |
CLD_KILLED = 2, |
| 335 |
CLD_DUMPED = 3, |
|
335 |
CLD_DUMPED = 3, |
| 336 |
CLD_TRAPPED = 4, |
|
336 |
CLD_TRAPPED = 4, |
| 337 |
CLD_STOPPED = 5, |
|
337 |
CLD_STOPPED = 5, |
| 338 |
CLD_CONTINUED = 6 |
|
338 |
CLD_CONTINUED = 6 |
| 339 |
} ; |
|
339 |
} ; |
| 340 |
enum __anonenum_31 { |
|
340 |
enum __anonenum_31 { |
| 341 |
POLL_IN = 1, |
|
341 |
POLL_IN = 1, |
| 342 |
POLL_OUT = 2, |
|
342 |
POLL_OUT = 2, |
| 343 |
POLL_MSG = 3, |
|
343 |
POLL_MSG = 3, |
| 344 |
POLL_ERR = 4, |
|
344 |
POLL_ERR = 4, |
| 345 |
POLL_PRI = 5, |
|
345 |
POLL_PRI = 5, |
| 346 |
POLL_HUP = 6 |
|
346 |
POLL_HUP = 6 |
| 347 |
} ; |
|
347 |
} ; |
| 348 |
struct __anonstruct__sigev_thread_33 { |
|
348 |
struct __anonstruct__sigev_thread_33 { |
| 349 |
void (*_function)(sigval_t ) ; |
|
349 |
void (*_function)(sigval_t ) ; |
| 350 |
void *_attribute ; |
|
350 |
void *_attribute ; |
| 351 |
}; |
|
351 |
}; |
| 352 |
union __anonunion__sigev_un_32 { |
|
352 |
union __anonunion__sigev_un_32 { |
| 353 |
int _pad[64U / sizeof(int ) - 3U] ; |
|
353 |
int _pad[64U / sizeof(int ) - 3U] ; |
| 354 |
__pid_t _tid ; |
|
354 |
__pid_t _tid ; |
| 355 |
struct __anonstruct__sigev_thread_33 _sigev_thread ; |
|
355 |
struct __anonstruct__sigev_thread_33 _sigev_thread ; |
| 356 |
}; |
|
356 |
}; |
| 357 |
struct sigevent { |
|
357 |
struct sigevent { |
| 358 |
sigval_t sigev_value ; |
|
358 |
sigval_t sigev_value ; |
| 359 |
int sigev_signo ; |
|
359 |
int sigev_signo ; |
| 360 |
int sigev_notify ; |
|
360 |
int sigev_notify ; |
| 361 |
union __anonunion__sigev_un_32 _sigev_un ; |
|
361 |
union __anonunion__sigev_un_32 _sigev_un ; |
| 362 |
}; |
|
362 |
}; |
| 363 |
typedef struct sigevent sigevent_t; |
|
363 |
typedef struct sigevent sigevent_t; |
| 364 |
enum __anonenum_34 { |
|
364 |
enum __anonenum_34 { |
| 365 |
SIGEV_SIGNAL = 0, |
|
365 |
SIGEV_SIGNAL = 0, |
| 366 |
SIGEV_NONE = 1, |
|
366 |
SIGEV_NONE = 1, |
| 367 |
SIGEV_THREAD = 2, |
|
367 |
SIGEV_THREAD = 2, |
| 368 |
SIGEV_THREAD_ID = 4 |
|
368 |
SIGEV_THREAD_ID = 4 |
| 369 |
} ; |
|
369 |
} ; |
| 370 |
typedef void (*__sighandler_t)(int ); |
|
370 |
typedef void (*__sighandler_t)(int ); |
| 371 |
typedef void (*sighandler_t)(int ); |
|
371 |
typedef void (*sighandler_t)(int ); |
| 372 |
typedef void (*sig_t)(int ); |
|
372 |
typedef void (*sig_t)(int ); |
| 373 |
union __anonunion___sigaction_handler_35 { |
|
373 |
union __anonunion___sigaction_handler_35 { |
| 374 |
void (*sa_handler)(int ) ; |
|
374 |
void (*sa_handler)(int ) ; |
| 375 |
void (*sa_sigaction)(int , siginfo_t * , void * ) ; |
|
375 |
void (*sa_sigaction)(int , siginfo_t * , void * ) ; |
| 376 |
}; |
|
376 |
}; |
| 377 |
struct sigaction { |
|
377 |
struct sigaction { |
| 378 |
union __anonunion___sigaction_handler_35 __sigaction_handler ; |
|
378 |
union __anonunion___sigaction_handler_35 __sigaction_handler ; |
| 379 |
__sigset_t sa_mask ; |
|
379 |
__sigset_t sa_mask ; |
| 380 |
int sa_flags ; |
|
380 |
int sa_flags ; |
| 381 |
void (*sa_restorer)(void) ; |
|
381 |
void (*sa_restorer)(void) ; |
| 382 |
}; |
|
382 |
}; |
| 383 |
struct sigvec { |
|
383 |
struct sigvec { |
| 384 |
void (*sv_handler)(int ) ; |
|
384 |
void (*sv_handler)(int ) ; |
| 385 |
int sv_mask ; |
|
385 |
int sv_mask ; |
| 386 |
int sv_flags ; |
|
386 |
int sv_flags ; |
| 387 |
}; |
|
387 |
}; |
| 388 |
typedef signed char __s8; |
|
388 |
typedef signed char __s8; |
| 389 |
typedef unsigned char __u8; |
|
389 |
typedef unsigned char __u8; |
| 390 |
typedef short __s16; |
|
390 |
typedef short __s16; |
| 391 |
typedef unsigned short __u16; |
|
391 |
typedef unsigned short __u16; |
| 392 |
typedef int __s32; |
|
392 |
typedef int __s32; |
| 393 |
typedef unsigned int __u32; |
|
393 |
typedef unsigned int __u32; |
| 394 |
typedef long long __s64; |
|
394 |
typedef long long __s64; |
| 395 |
typedef unsigned long long __u64; |
|
395 |
typedef unsigned long long __u64; |
| 396 |
typedef unsigned short umode_t; |
|
396 |
typedef unsigned short umode_t; |
| 397 |
struct __anonstruct___kernel_fd_set_36 { |
|
397 |
struct __anonstruct___kernel_fd_set_36 { |
| 398 |
unsigned long fds_bits[1024U / (8U * sizeof(unsigned long ))] ; |
|
398 |
unsigned long fds_bits[1024U / (8U * sizeof(unsigned long ))] ; |
| 399 |
}; |
|
399 |
}; |
| 400 |
typedef struct __anonstruct___kernel_fd_set_36 __kernel_fd_set; |
|
400 |
typedef struct __anonstruct___kernel_fd_set_36 __kernel_fd_set; |
| 401 |
typedef void (*__kernel_sighandler_t)(int ); |
|
401 |
typedef void (*__kernel_sighandler_t)(int ); |
| 402 |
typedef int __kernel_key_t; |
|
402 |
typedef int __kernel_key_t; |
| 403 |
typedef int __kernel_mqd_t; |
|
403 |
typedef int __kernel_mqd_t; |
| 404 |
typedef unsigned long __kernel_ino_t; |
|
404 |
typedef unsigned long __kernel_ino_t; |
| 405 |
typedef unsigned short __kernel_mode_t; |
|
405 |
typedef unsigned short __kernel_mode_t; |
| 406 |
typedef unsigned short __kernel_nlink_t; |
|
406 |
typedef unsigned short __kernel_nlink_t; |
| 407 |
typedef long __kernel_off_t; |
|
407 |
typedef long __kernel_off_t; |
| 408 |
typedef int __kernel_pid_t; |
|
408 |
typedef int __kernel_pid_t; |
| 409 |
typedef unsigned short __kernel_ipc_pid_t; |
|
409 |
typedef unsigned short __kernel_ipc_pid_t; |
| 410 |
typedef unsigned short __kernel_uid_t; |
|
410 |
typedef unsigned short __kernel_uid_t; |
| 411 |
typedef unsigned short __kernel_gid_t; |
|
411 |
typedef unsigned short __kernel_gid_t; |
| 412 |
typedef unsigned int __kernel_size_t; |
|
412 |
typedef unsigned int __kernel_size_t; |
| 413 |
typedef int __kernel_ssize_t; |
|
413 |
typedef int __kernel_ssize_t; |
| 414 |
typedef int __kernel_ptrdiff_t; |
|
414 |
typedef int __kernel_ptrdiff_t; |
| 415 |
typedef long __kernel_time_t; |
|
415 |
typedef long __kernel_time_t; |
| 416 |
typedef long __kernel_suseconds_t; |
|
416 |
typedef long __kernel_suseconds_t; |
| 417 |
typedef long __kernel_clock_t; |
|
417 |
typedef long __kernel_clock_t; |
| 418 |
typedef int __kernel_timer_t; |
|
418 |
typedef int __kernel_timer_t; |
| 419 |
typedef int __kernel_clockid_t; |
|
419 |
typedef int __kernel_clockid_t; |
| 420 |
typedef int __kernel_daddr_t; |
|
420 |
typedef int __kernel_daddr_t; |
| 421 |
typedef char *__kernel_caddr_t; |
|
421 |
typedef char *__kernel_caddr_t; |
| 422 |
typedef unsigned short __kernel_uid16_t; |
|
422 |
typedef unsigned short __kernel_uid16_t; |
| 423 |
typedef unsigned short __kernel_gid16_t; |
|
423 |
typedef unsigned short __kernel_gid16_t; |
| 424 |
typedef unsigned int __kernel_uid32_t; |
|
424 |
typedef unsigned int __kernel_uid32_t; |
| 425 |
typedef unsigned int __kernel_gid32_t; |
|
425 |
typedef unsigned int __kernel_gid32_t; |
| 426 |
typedef unsigned short __kernel_old_uid_t; |
|
426 |
typedef unsigned short __kernel_old_uid_t; |
| 427 |
typedef unsigned short __kernel_old_gid_t; |
|
427 |
typedef unsigned short __kernel_old_gid_t; |
| 428 |
typedef unsigned short __kernel_old_dev_t; |
|
428 |
typedef unsigned short __kernel_old_dev_t; |
| 429 |
typedef long long __kernel_loff_t; |
|
429 |
typedef long long __kernel_loff_t; |
| 430 |
struct __anonstruct___kernel_fsid_t_37 { |
|
430 |
struct __anonstruct___kernel_fsid_t_37 { |
| 431 |
int val[2] ; |
|
431 |
int val[2] ; |
| 432 |
}; |
|
432 |
}; |
| 433 |
typedef struct __anonstruct___kernel_fsid_t_37 __kernel_fsid_t; |
|
433 |
typedef struct __anonstruct___kernel_fsid_t_37 __kernel_fsid_t; |
| 434 |
typedef __u16 __le16; |
|
434 |
typedef __u16 __le16; |
| 435 |
typedef __u16 __be16; |
|
435 |
typedef __u16 __be16; |
| 436 |
typedef __u32 __le32; |
|
436 |
typedef __u32 __le32; |
| 437 |
typedef __u32 __be32; |
|
437 |
typedef __u32 __be32; |
| 438 |
typedef __u64 __le64; |
|
438 |
typedef __u64 __le64; |
| 439 |
typedef __u64 __be64; |
|
439 |
typedef __u64 __be64; |
| 440 |
typedef __u16 __sum16; |
|
440 |
typedef __u16 __sum16; |
| 441 |
typedef __u32 __wsum; |
|
441 |
typedef __u32 __wsum; |
| 442 |
struct _fpx_sw_bytes { |
|
442 |
struct _fpx_sw_bytes { |
| 443 |
__u32 magic1 ; |
|
443 |
__u32 magic1 ; |
| 444 |
__u32 extended_size ; |
|
444 |
__u32 extended_size ; |
| 445 |
__u64 xstate_bv ; |
|
445 |
__u64 xstate_bv ; |
| 446 |
__u32 xstate_size ; |
|
446 |
__u32 xstate_size ; |
| 447 |
__u32 padding[7] ; |
|
447 |
__u32 padding[7] ; |
| 448 |
}; |
|
448 |
}; |
| 449 |
struct _fpreg { |
|
449 |
struct _fpreg { |
| 450 |
unsigned short significand[4] ; |
|
450 |
unsigned short significand[4] ; |
| 451 |
unsigned short exponent ; |
|
451 |
unsigned short exponent ; |
| 452 |
}; |
|
452 |
}; |
| 453 |
struct _fpxreg { |
|
453 |
struct _fpxreg { |
| 454 |
unsigned short significand[4] ; |
|
454 |
unsigned short significand[4] ; |
| 455 |
unsigned short exponent ; |
|
455 |
unsigned short exponent ; |
| 456 |
unsigned short padding[3] ; |
|
456 |
unsigned short padding[3] ; |
| 457 |
}; |
|
457 |
}; |
| 458 |
struct _xmmreg { |
|
458 |
struct _xmmreg { |
| 459 |
unsigned long element[4] ; |
|
459 |
unsigned long element[4] ; |
| 460 |
}; |
|
460 |
}; |
| 461 |
union __anonunion____missing_field_name_38 { |
|
461 |
union __anonunion____missing_field_name_38 { |
| 462 |
unsigned long padding2[12] ; |
|
462 |
unsigned long padding2[12] ; |
| 463 |
struct _fpx_sw_bytes sw_reserved ; |
|
463 |
struct _fpx_sw_bytes sw_reserved ; |
| 464 |
}; |
|
464 |
}; |
| 465 |
struct _fpstate { |
|
465 |
struct _fpstate { |
| 466 |
unsigned long cw ; |
|
466 |
unsigned long cw ; |
| 467 |
unsigned long sw ; |
|
467 |
unsigned long sw ; |
| 468 |
unsigned long tag ; |
|
468 |
unsigned long tag ; |
| 469 |
unsigned long ipoff ; |
|
469 |
unsigned long ipoff ; |
| 470 |
unsigned long cssel ; |
|
470 |
unsigned long cssel ; |
| 471 |
unsigned long dataoff ; |
|
471 |
unsigned long dataoff ; |
| 472 |
unsigned long datasel ; |
|
472 |
unsigned long datasel ; |
| 473 |
struct _fpreg _st[8] ; |
|
473 |
struct _fpreg _st[8] ; |
| 474 |
unsigned short status ; |
|
474 |
unsigned short status ; |
| 475 |
unsigned short magic ; |
|
475 |
unsigned short magic ; |
| 476 |
unsigned long _fxsr_env[6] ; |
|
476 |
unsigned long _fxsr_env[6] ; |
| 477 |
unsigned long mxcsr ; |
|
477 |
unsigned long mxcsr ; |
| 478 |
unsigned long reserved ; |
|
478 |
unsigned long reserved ; |
| 479 |
struct _fpxreg _fxsr_st[8] ; |
|
479 |
struct _fpxreg _fxsr_st[8] ; |
| 480 |
struct _xmmreg _xmm[8] ; |
|
480 |
struct _xmmreg _xmm[8] ; |
| 481 |
unsigned long padding1[44] ; |
|
481 |
unsigned long padding1[44] ; |
| 482 |
union __anonunion____missing_field_name_38 __annonCompField2 ; |
|
482 |
union __anonunion____missing_field_name_38 __annonCompField2 ; |
| 483 |
}; |
|
483 |
}; |
| 484 |
struct sigcontext { |
|
484 |
struct sigcontext { |
| 485 |
unsigned short gs ; |
|
485 |
unsigned short gs ; |
| 486 |
unsigned short __gsh ; |
|
486 |
unsigned short __gsh ; |
| 487 |
unsigned short fs ; |
|
487 |
unsigned short fs ; |
| 488 |
unsigned short __fsh ; |
|
488 |
unsigned short __fsh ; |
| 489 |
unsigned short es ; |
|
489 |
unsigned short es ; |
| 490 |
unsigned short __esh ; |
|
490 |
unsigned short __esh ; |
| 491 |
unsigned short ds ; |
|
491 |
unsigned short ds ; |
| 492 |
unsigned short __dsh ; |
|
492 |
unsigned short __dsh ; |
| 493 |
unsigned long edi ; |
|
493 |
unsigned long edi ; |
| 494 |
unsigned long esi ; |
|
494 |
unsigned long esi ; |
| 495 |
unsigned long ebp ; |
|
495 |
unsigned long ebp ; |
| 496 |
unsigned long esp ; |
|
496 |
unsigned long esp ; |
| 497 |
unsigned long ebx ; |
|
497 |
unsigned long ebx ; |
| 498 |
unsigned long edx ; |
|
498 |
unsigned long edx ; |
| 499 |
unsigned long ecx ; |
|
499 |
unsigned long ecx ; |
| 500 |
unsigned long eax ; |
|
500 |
unsigned long eax ; |
| 501 |
unsigned long trapno ; |
|
501 |
unsigned long trapno ; |
| 502 |
unsigned long err ; |
|
502 |
unsigned long err ; |
| 503 |
unsigned long eip ; |
|
503 |
unsigned long eip ; |
| 504 |
unsigned short cs ; |
|
504 |
unsigned short cs ; |
| 505 |
unsigned short __csh ; |
|
505 |
unsigned short __csh ; |
| 506 |
unsigned long eflags ; |
|
506 |
unsigned long eflags ; |
| 507 |
unsigned long esp_at_signal ; |
|
507 |
unsigned long esp_at_signal ; |
| 508 |
unsigned short ss ; |
|
508 |
unsigned short ss ; |
| 509 |
unsigned short __ssh ; |
|
509 |
unsigned short __ssh ; |
| 510 |
struct _fpstate *fpstate ; |
|
510 |
struct _fpstate *fpstate ; |
| 511 |
unsigned long oldmask ; |
|
511 |
unsigned long oldmask ; |
| 512 |
unsigned long cr2 ; |
|
512 |
unsigned long cr2 ; |
| 513 |
}; |
|
513 |
}; |
| 514 |
struct _xsave_hdr { |
|
514 |
struct _xsave_hdr { |
| 515 |
__u64 xstate_bv ; |
|
515 |
__u64 xstate_bv ; |
| 516 |
__u64 reserved1[2] ; |
|
516 |
__u64 reserved1[2] ; |
| 517 |
__u64 reserved2[5] ; |
|
517 |
__u64 reserved2[5] ; |
| 518 |
}; |
|
518 |
}; |
| 519 |
struct _ymmh_state { |
|
519 |
struct _ymmh_state { |
| 520 |
__u32 ymmh_space[64] ; |
|
520 |
__u32 ymmh_space[64] ; |
| 521 |
}; |
|
521 |
}; |
| 522 |
struct _xstate { |
|
522 |
struct _xstate { |
| 523 |
struct _fpstate fpstate ; |
|
523 |
struct _fpstate fpstate ; |
| 524 |
struct _xsave_hdr xstate_hdr ; |
|
524 |
struct _xsave_hdr xstate_hdr ; |
| 525 |
struct _ymmh_state ymmh ; |
|
525 |
struct _ymmh_state ymmh ; |
| 526 |
}; |
|
526 |
}; |
| 527 |
struct sigstack { |
|
527 |
struct sigstack { |
| 528 |
void *ss_sp ; |
|
528 |
void *ss_sp ; |
| 529 |
int ss_onstack ; |
|
529 |
int ss_onstack ; |
| 530 |
}; |
|
530 |
}; |
| 531 |
enum __anonenum_39 { |
|
531 |
enum __anonenum_39 { |
| 532 |
SS_ONSTACK = 1, |
|
532 |
SS_ONSTACK = 1, |
| 533 |
SS_DISABLE = 2 |
|
533 |
SS_DISABLE = 2 |
| 534 |
} ; |
|
534 |
} ; |
| 535 |
struct sigaltstack { |
|
535 |
struct sigaltstack { |
| 536 |
void *ss_sp ; |
|
536 |
void *ss_sp ; |
| 537 |
int ss_flags ; |
|
537 |
int ss_flags ; |
| 538 |
size_t ss_size ; |
|
538 |
size_t ss_size ; |
| 539 |
}; |
|
539 |
}; |
| 540 |
typedef struct sigaltstack stack_t; |
|
540 |
typedef struct sigaltstack stack_t; |
| 541 |
typedef int greg_t; |
|
541 |
typedef int greg_t; |
| 542 |
typedef greg_t gregset_t[19]; |
|
542 |
typedef greg_t gregset_t[19]; |
| 543 |
enum __anonenum_40 { |
|
543 |
enum __anonenum_40 { |
| 544 |
REG_GS = 0, |
|
544 |
REG_GS = 0, |
| 545 |
REG_FS = 1, |
|
545 |
REG_FS = 1, |
| 546 |
REG_ES = 2, |
|
546 |
REG_ES = 2, |
| 547 |
REG_DS = 3, |
|
547 |
REG_DS = 3, |
| 548 |
REG_EDI = 4, |
|
548 |
REG_EDI = 4, |
| 549 |
REG_ESI = 5, |
|
549 |
REG_ESI = 5, |
| 550 |
REG_EBP = 6, |
|
550 |
REG_EBP = 6, |
| 551 |
REG_ESP = 7, |
|
551 |
REG_ESP = 7, |
| 552 |
REG_EBX = 8, |
|
552 |
REG_EBX = 8, |
| 553 |
REG_EDX = 9, |
|
553 |
REG_EDX = 9, |
| 554 |
REG_ECX = 10, |
|
554 |
REG_ECX = 10, |
| 555 |
REG_EAX = 11, |
|
555 |
REG_EAX = 11, |
| 556 |
REG_TRAPNO = 12, |
|
556 |
REG_TRAPNO = 12, |
| 557 |
REG_ERR = 13, |
|
557 |
REG_ERR = 13, |
| 558 |
REG_EIP = 14, |
|
558 |
REG_EIP = 14, |
| 559 |
REG_CS = 15, |
|
559 |
REG_CS = 15, |
| 560 |
REG_EFL = 16, |
|
560 |
REG_EFL = 16, |
| 561 |
REG_UESP = 17, |
|
561 |
REG_UESP = 17, |
| 562 |
REG_SS = 18 |
|
562 |
REG_SS = 18 |
| 563 |
} ; |
|
563 |
} ; |
| 564 |
struct _libc_fpreg { |
|
564 |
struct _libc_fpreg { |
| 565 |
unsigned short significand[4] ; |
|
565 |
unsigned short significand[4] ; |
| 566 |
unsigned short exponent ; |
|
566 |
unsigned short exponent ; |
| 567 |
}; |
|
567 |
}; |
| 568 |
struct _libc_fpstate { |
|
568 |
struct _libc_fpstate { |
| 569 |
unsigned long cw ; |
|
569 |
unsigned long cw ; |
| 570 |
unsigned long sw ; |
|
570 |
unsigned long sw ; |
| 571 |
unsigned long tag ; |
|
571 |
unsigned long tag ; |
| 572 |
unsigned long ipoff ; |
|
572 |
unsigned long ipoff ; |
| 573 |
unsigned long cssel ; |
|
573 |
unsigned long cssel ; |
| 574 |
unsigned long dataoff ; |
|
574 |
unsigned long dataoff ; |
| 575 |
unsigned long datasel ; |
|
575 |
unsigned long datasel ; |
| 576 |
struct _libc_fpreg _st[8] ; |
|
576 |
struct _libc_fpreg _st[8] ; |
| 577 |
unsigned long status ; |
|
577 |
unsigned long status ; |
| 578 |
}; |
|
578 |
}; |
| 579 |
typedef struct _libc_fpstate *fpregset_t; |
|
579 |
typedef struct _libc_fpstate *fpregset_t; |
| 580 |
struct __anonstruct_mcontext_t_41 { |
|
580 |
struct __anonstruct_mcontext_t_41 { |
| 581 |
gregset_t gregs ; |
|
581 |
gregset_t gregs ; |
| 582 |
fpregset_t fpregs ; |
|
582 |
fpregset_t fpregs ; |
| 583 |
unsigned long oldmask ; |
|
583 |
unsigned long oldmask ; |
| 584 |
unsigned long cr2 ; |
|
584 |
unsigned long cr2 ; |
| 585 |
}; |
|
585 |
}; |
| 586 |
typedef struct __anonstruct_mcontext_t_41 mcontext_t; |
|
586 |
typedef struct __anonstruct_mcontext_t_41 mcontext_t; |
| 587 |
struct ucontext { |
|
587 |
struct ucontext { |
| 588 |
unsigned long uc_flags ; |
|
588 |
unsigned long uc_flags ; |
| 589 |
struct ucontext *uc_link ; |
|
589 |
struct ucontext *uc_link ; |
| 590 |
stack_t uc_stack ; |
|
590 |
stack_t uc_stack ; |
| 591 |
mcontext_t uc_mcontext ; |
|
591 |
mcontext_t uc_mcontext ; |
| 592 |
__sigset_t uc_sigmask ; |
|
592 |
__sigset_t uc_sigmask ; |
| 593 |
struct _libc_fpstate __fpregs_mem ; |
|
593 |
struct _libc_fpstate __fpregs_mem ; |
| 594 |
}; |
|
594 |
}; |
| 595 |
typedef struct ucontext ucontext_t; |
|
595 |
typedef struct ucontext ucontext_t; |
| 596 |
struct stat { |
|
596 |
struct stat { |
| 597 |
__dev_t st_dev ; |
|
597 |
__dev_t st_dev ; |
| 598 |
unsigned short __pad1 ; |
|
598 |
unsigned short __pad1 ; |
| 599 |
__ino_t __st_ino ; |
|
599 |
__ino_t __st_ino ; |
| 600 |
__mode_t st_mode ; |
|
600 |
__mode_t st_mode ; |
| 601 |
__nlink_t st_nlink ; |
|
601 |
__nlink_t st_nlink ; |
| 602 |
__uid_t st_uid ; |
|
602 |
__uid_t st_uid ; |
| 603 |
__gid_t st_gid ; |
|
603 |
__gid_t st_gid ; |
| 604 |
__dev_t st_rdev ; |
|
604 |
__dev_t st_rdev ; |
| 605 |
unsigned short __pad2 ; |
|
605 |
unsigned short __pad2 ; |
| 606 |
__off64_t st_size ; |
|
606 |
__off64_t st_size ; |
| 607 |
__blksize_t st_blksize ; |
|
607 |
__blksize_t st_blksize ; |
| 608 |
__blkcnt64_t st_blocks ; |
|
608 |
__blkcnt64_t st_blocks ; |
| 609 |
struct timespec st_atim ; |
|
609 |
struct timespec st_atim ; |
| 610 |
struct timespec st_mtim ; |
|
610 |
struct timespec st_mtim ; |
| 611 |
struct timespec st_ctim ; |
|
611 |
struct timespec st_ctim ; |
| 612 |
__ino64_t st_ino ; |
|
612 |
__ino64_t st_ino ; |
| 613 |
}; |
|
613 |
}; |
| 614 |
struct stat64 { |
|
614 |
struct stat64 { |
| 615 |
__dev_t st_dev ; |
|
615 |
__dev_t st_dev ; |
| 616 |
unsigned int __pad1 ; |
|
616 |
unsigned int __pad1 ; |
| 617 |
__ino_t __st_ino ; |
|
617 |
__ino_t __st_ino ; |
| 618 |
__mode_t st_mode ; |
|
618 |
__mode_t st_mode ; |
| 619 |
__nlink_t st_nlink ; |
|
619 |
__nlink_t st_nlink ; |
| 620 |
__uid_t st_uid ; |
|
620 |
__uid_t st_uid ; |
| 621 |
__gid_t st_gid ; |
|
621 |
__gid_t st_gid ; |
| 622 |
__dev_t st_rdev ; |
|
622 |
__dev_t st_rdev ; |
| 623 |
unsigned int __pad2 ; |
|
623 |
unsigned int __pad2 ; |
| 624 |
__off64_t st_size ; |
|
624 |
__off64_t st_size ; |
| 625 |
__blksize_t st_blksize ; |
|
625 |
__blksize_t st_blksize ; |
| 626 |
__blkcnt64_t st_blocks ; |
|
626 |
__blkcnt64_t st_blocks ; |
| 627 |
struct timespec st_atim ; |
|
627 |
struct timespec st_atim ; |
| 628 |
struct timespec st_mtim ; |
|
628 |
struct timespec st_mtim ; |
| 629 |
struct timespec st_ctim ; |
|
629 |
struct timespec st_ctim ; |
| 630 |
__ino64_t st_ino ; |
|
630 |
__ino64_t st_ino ; |
| 631 |
}; |
|
631 |
}; |
| 632 |
typedef int error_t; |
|
632 |
typedef int error_t; |
| 633 |
typedef void *voidp; |
|
633 |
typedef void *voidp; |
| 634 |
struct _IO_FILE; |
|
634 |
struct _IO_FILE; |
| 635 |
struct _IO_FILE; |
|
635 |
struct _IO_FILE; |
| 636 |
typedef struct _IO_FILE FILE; |
|
636 |
typedef struct _IO_FILE FILE; |
| 637 |
typedef struct _IO_FILE __FILE; |
|
637 |
typedef struct _IO_FILE __FILE; |
| 638 |
union __anonunion___value_43 { |
|
638 |
union __anonunion___value_43 { |
| 639 |
unsigned int __wch ; |
|
639 |
unsigned int __wch ; |
| 640 |
char __wchb[4] ; |
|
640 |
char __wchb[4] ; |
| 641 |
}; |
|
641 |
}; |
| 642 |
struct __anonstruct___mbstate_t_42 { |
|
642 |
struct __anonstruct___mbstate_t_42 { |
| 643 |
int __count ; |
|
643 |
int __count ; |
| 644 |
union __anonunion___value_43 __value ; |
|
644 |
union __anonunion___value_43 __value ; |
| 645 |
}; |
|
645 |
}; |
| 646 |
typedef struct __anonstruct___mbstate_t_42 __mbstate_t; |
|
646 |
typedef struct __anonstruct___mbstate_t_42 __mbstate_t; |
| 647 |
struct __anonstruct__G_fpos_t_44 { |
|
647 |
struct __anonstruct__G_fpos_t_44 { |
| 648 |
__off_t __pos ; |
|
648 |
__off_t __pos ; |
| 649 |
__mbstate_t __state ; |
|
649 |
__mbstate_t __state ; |
| 650 |
}; |
|
650 |
}; |
| 651 |
typedef struct __anonstruct__G_fpos_t_44 _G_fpos_t; |
|
651 |
typedef struct __anonstruct__G_fpos_t_44 _G_fpos_t; |
| 652 |
struct __anonstruct__G_fpos64_t_45 { |
|
652 |
struct __anonstruct__G_fpos64_t_45 { |
| 653 |
__off64_t __pos ; |
|
653 |
__off64_t __pos ; |
| 654 |
__mbstate_t __state ; |
|
654 |
__mbstate_t __state ; |
| 655 |
}; |
|
655 |
}; |
| 656 |
typedef struct __anonstruct__G_fpos64_t_45 _G_fpos64_t; |
|
656 |
typedef struct __anonstruct__G_fpos64_t_45 _G_fpos64_t; |
| 657 |
typedef short _G_int16_t; |
|
657 |
typedef short _G_int16_t; |
| 658 |
typedef int _G_int32_t; |
|
658 |
typedef int _G_int32_t; |
| 659 |
typedef unsigned short _G_uint16_t; |
|
659 |
typedef unsigned short _G_uint16_t; |
| 660 |
typedef unsigned int _G_uint32_t; |
|
660 |
typedef unsigned int _G_uint32_t; |
| 661 |
typedef __builtin_va_list __gnuc_va_list; |
|
661 |
typedef __builtin_va_list __gnuc_va_list; |
| 662 |
struct _IO_jump_t; |
|
662 |
struct _IO_jump_t; |
| 663 |
struct _IO_jump_t; |
|
663 |
struct _IO_jump_t; |
| 664 |
struct _IO_FILE; |
|
664 |
struct _IO_FILE; |
| 665 |
typedef void _IO_lock_t; |
|
665 |
typedef void _IO_lock_t; |
| 666 |
struct _IO_marker { |
|
666 |
struct _IO_marker { |
| 667 |
struct _IO_marker *_next ; |
|
667 |
struct _IO_marker *_next ; |
| 668 |
struct _IO_FILE *_sbuf ; |
|
668 |
struct _IO_FILE *_sbuf ; |
| 669 |
int _pos ; |
|
669 |
int _pos ; |
| 670 |
}; |
|
670 |
}; |
| 671 |
enum __codecvt_result { |
|
671 |
enum __codecvt_result { |
| 672 |
__codecvt_ok = 0, |
|
672 |
__codecvt_ok = 0, |
| 673 |
__codecvt_partial = 1, |
|
673 |
__codecvt_partial = 1, |
| 674 |
__codecvt_error = 2, |
|
674 |
__codecvt_error = 2, |
| 675 |
__codecvt_noconv = 3 |
|
675 |
__codecvt_noconv = 3 |
| 676 |
} ; |
|
676 |
} ; |
| 677 |
struct _IO_FILE { |
|
677 |
struct _IO_FILE { |
| 678 |
int _flags ; |
|
678 |
int _flags ; |
| 679 |
char *_IO_read_ptr ; |
|
679 |
char *_IO_read_ptr ; |
| 680 |
char *_IO_read_end ; |
|
680 |
char *_IO_read_end ; |
| 681 |
char *_IO_read_base ; |
|
681 |
char *_IO_read_base ; |
| 682 |
char *_IO_write_base ; |
|
682 |
char *_IO_write_base ; |
| 683 |
char *_IO_write_ptr ; |
|
683 |
char *_IO_write_ptr ; |
| 684 |
char *_IO_write_end ; |
|
684 |
char *_IO_write_end ; |
| 685 |
char *_IO_buf_base ; |
|
685 |
char *_IO_buf_base ; |
| 686 |
char *_IO_buf_end ; |
|
686 |
char *_IO_buf_end ; |
| 687 |
char *_IO_save_base ; |
|
687 |
char *_IO_save_base ; |
| 688 |
char *_IO_backup_base ; |
|
688 |
char *_IO_backup_base ; |
| 689 |
char *_IO_save_end ; |
|
689 |
char *_IO_save_end ; |
| 690 |
struct _IO_marker *_markers ; |
|
690 |
struct _IO_marker *_markers ; |
| 691 |
struct _IO_FILE *_chain ; |
|
691 |
struct _IO_FILE *_chain ; |
| 692 |
int _fileno ; |
|
692 |
int _fileno ; |
| 693 |
int _flags2 ; |
|
693 |
int _flags2 ; |
| 694 |
__off_t _old_offset ; |
|
694 |
__off_t _old_offset ; |
| 695 |
unsigned short _cur_column ; |
|
695 |
unsigned short _cur_column ; |
| 696 |
signed char _vtable_offset ; |
|
696 |
signed char _vtable_offset ; |
| 697 |
char _shortbuf[1] ; |
|
697 |
char _shortbuf[1] ; |
| 698 |
_IO_lock_t *_lock ; |
|
698 |
_IO_lock_t *_lock ; |
| 699 |
__off64_t _offset ; |
|
699 |
__off64_t _offset ; |
| 700 |
void *__pad1 ; |
|
700 |
void *__pad1 ; |
| 701 |
void *__pad2 ; |
|
701 |
void *__pad2 ; |
| 702 |
void *__pad3 ; |
|
702 |
void *__pad3 ; |
| 703 |
void *__pad4 ; |
|
703 |
void *__pad4 ; |
| 704 |
size_t __pad5 ; |
|
704 |
size_t __pad5 ; |
| 705 |
int _mode ; |
|
705 |
int _mode ; |
| 706 |
char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ; |
|
706 |
char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ; |
| 707 |
}; |
|
707 |
}; |
| 708 |
typedef struct _IO_FILE _IO_FILE; |
|
708 |
typedef struct _IO_FILE _IO_FILE; |
| 709 |
struct _IO_FILE_plus; |
|
709 |
struct _IO_FILE_plus; |
| 710 |
struct _IO_FILE_plus; |
|
710 |
struct _IO_FILE_plus; |
| 711 |
typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes ); |
|
711 |
typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes ); |
| 712 |
typedef __ssize_t __io_write_fn(void *__cookie , char const *__buf , |
|
712 |
typedef __ssize_t __io_write_fn(void *__cookie , char const *__buf , |
| 713 |
size_t __n ); |
|
713 |
size_t __n ); |
| 714 |
typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w ); |
|
714 |
typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w ); |
| 715 |
typedef int __io_close_fn(void *__cookie ); |
|
715 |
typedef int __io_close_fn(void *__cookie ); |
| 716 |
typedef __io_read_fn cookie_read_function_t; |
|
716 |
typedef __io_read_fn cookie_read_function_t; |
| 717 |
typedef __io_write_fn cookie_write_function_t; |
|
717 |
typedef __io_write_fn cookie_write_function_t; |
| 718 |
typedef __io_seek_fn cookie_seek_function_t; |
|
718 |
typedef __io_seek_fn cookie_seek_function_t; |
| 719 |
typedef __io_close_fn cookie_close_function_t; |
|
719 |
typedef __io_close_fn cookie_close_function_t; |
| 720 |
struct __anonstruct__IO_cookie_io_functions_t_46 { |
|
720 |
struct __anonstruct__IO_cookie_io_functions_t_46 { |
| 721 |
__io_read_fn *read ; |
|
721 |
__io_read_fn *read ; |
| 722 |
__io_write_fn *write ; |
|
722 |
__io_write_fn *write ; |
| 723 |
__io_seek_fn *seek ; |
|
723 |
__io_seek_fn *seek ; |
| 724 |
__io_close_fn *close ; |
|
724 |
__io_close_fn *close ; |
| 725 |
}; |
|
725 |
}; |
| 726 |
typedef struct __anonstruct__IO_cookie_io_functions_t_46 _IO_cookie_io_functions_t; |
|
726 |
typedef struct __anonstruct__IO_cookie_io_functions_t_46 _IO_cookie_io_functions_t; |
| 727 |
typedef _IO_cookie_io_functions_t cookie_io_functions_t; |
|
727 |
typedef _IO_cookie_io_functions_t cookie_io_functions_t; |
| 728 |
struct _IO_cookie_file; |
|
728 |
struct _IO_cookie_file; |
| 729 |
struct _IO_cookie_file; |
|
729 |
struct _IO_cookie_file; |
| 730 |
typedef __gnuc_va_list va_list; |
|
730 |
typedef __gnuc_va_list va_list; |
| 731 |
typedef _G_fpos64_t fpos_t; |
|
731 |
typedef _G_fpos64_t fpos_t; |
| 732 |
typedef _G_fpos64_t fpos64_t; |
|
732 |
typedef _G_fpos64_t fpos64_t; |
| 733 |
struct obstack; |
|
733 |
struct obstack; |
| 734 |
struct obstack; |
|
734 |
struct obstack; |
| 735 |
typedef int ptrdiff_t; |
|
735 |
typedef int ptrdiff_t; |
| 736 |
typedef long wchar_t; |
|
736 |
typedef long wchar_t; |
| 737 |
struct tm { |
|
737 |
struct tm { |
| 738 |
int tm_sec ; |
|
738 |
int tm_sec ; |
| 739 |
int tm_min ; |
|
739 |
int tm_min ; |
| 740 |
int tm_hour ; |
|
740 |
int tm_hour ; |
| 741 |
int tm_mday ; |
|
741 |
int tm_mday ; |
| 742 |
int tm_mon ; |
|
742 |
int tm_mon ; |
| 743 |
int tm_year ; |
|
743 |
int tm_year ; |
| 744 |
int tm_wday ; |
|
744 |
int tm_wday ; |
| 745 |
int tm_yday ; |
|
745 |
int tm_yday ; |
| 746 |
int tm_isdst ; |
|
746 |
int tm_isdst ; |
| 747 |
long tm_gmtoff ; |
|
747 |
long tm_gmtoff ; |
| 748 |
char const *tm_zone ; |
|
748 |
char const *tm_zone ; |
| 749 |
}; |
|
749 |
}; |
| 750 |
struct itimerspec { |
|
750 |
struct itimerspec { |
| 751 |
struct timespec it_interval ; |
|
751 |
struct timespec it_interval ; |
| 752 |
struct timespec it_value ; |
|
752 |
struct timespec it_value ; |
| 753 |
}; |
|
753 |
}; |
| 754 |
struct sigevent; |
|
754 |
struct sigevent; |
| 755 |
typedef unsigned char uch; |
|
755 |
typedef unsigned char uch; |
| 756 |
typedef unsigned short ush; |
|
756 |
typedef unsigned short ush; |
| 757 |
typedef unsigned long ulg; |
|
757 |
typedef unsigned long ulg; |
| 758 |
typedef int file_t; |
|
758 |
typedef int file_t; |
| 759 |
struct option { |
|
759 |
struct option { |
| 760 |
char const *name ; |
|
760 |
char const *name ; |
| 761 |
int has_arg ; |
|
761 |
int has_arg ; |
| 762 |
int *flag ; |
|
762 |
int *flag ; |
| 763 |
int val ; |
|
763 |
int val ; |
| 764 |
}; |
|
764 |
}; |
| 765 |
typedef __intptr_t intptr_t; |
|
765 |
typedef __intptr_t intptr_t; |
| 766 |
typedef __socklen_t socklen_t; |
|
766 |
typedef __socklen_t socklen_t; |
| 767 |
enum __anonenum_47 { |
|
767 |
enum __anonenum_47 { |
| 768 |
_PC_LINK_MAX = 0, |
|
768 |
_PC_LINK_MAX = 0, |
| 769 |
_PC_MAX_CANON = 1, |
|
769 |
_PC_MAX_CANON = 1, |
| 770 |
_PC_MAX_INPUT = 2, |
|
770 |
_PC_MAX_INPUT = 2, |
| 771 |
_PC_NAME_MAX = 3, |
|
771 |
_PC_NAME_MAX = 3, |
| 772 |
_PC_PATH_MAX = 4, |
|
772 |
_PC_PATH_MAX = 4, |
| 773 |
_PC_PIPE_BUF = 5, |
|
773 |
_PC_PIPE_BUF = 5, |
| 774 |
_PC_CHOWN_RESTRICTED = 6, |
|
774 |
_PC_CHOWN_RESTRICTED = 6, |
| 775 |
_PC_NO_TRUNC = 7, |
|
775 |
_PC_NO_TRUNC = 7, |
| 776 |
_PC_VDISABLE = 8, |
|
776 |
_PC_VDISABLE = 8, |
| 777 |
_PC_SYNC_IO = 9, |
|
777 |
_PC_SYNC_IO = 9, |
| 778 |
_PC_ASYNC_IO = 10, |
|
778 |
_PC_ASYNC_IO = 10, |
| 779 |
_PC_PRIO_IO = 11, |
|
779 |
_PC_PRIO_IO = 11, |
| 780 |
_PC_SOCK_MAXBUF = 12, |
|
780 |
_PC_SOCK_MAXBUF = 12, |
| 781 |
_PC_FILESIZEBITS = 13, |
|
781 |
_PC_FILESIZEBITS = 13, |
| 782 |
_PC_REC_INCR_XFER_SIZE = 14, |
|
782 |
_PC_REC_INCR_XFER_SIZE = 14, |
| 783 |
_PC_REC_MAX_XFER_SIZE = 15, |
|
783 |
_PC_REC_MAX_XFER_SIZE = 15, |
| 784 |
_PC_REC_MIN_XFER_SIZE = 16, |
|
784 |
_PC_REC_MIN_XFER_SIZE = 16, |
| 785 |
_PC_REC_XFER_ALIGN = 17, |
|
785 |
_PC_REC_XFER_ALIGN = 17, |
| 786 |
_PC_ALLOC_SIZE_MIN = 18, |
|
786 |
_PC_ALLOC_SIZE_MIN = 18, |
| 787 |
_PC_SYMLINK_MAX = 19, |
|
787 |
_PC_SYMLINK_MAX = 19, |
| 788 |
_PC_2_SYMLINKS = 20 |
|
788 |
_PC_2_SYMLINKS = 20 |
| 789 |
} ; |
|
789 |
} ; |
| 790 |
enum __anonenum_48 { |
|
790 |
enum __anonenum_48 { |
| 791 |
_SC_ARG_MAX = 0, |
|
791 |
_SC_ARG_MAX = 0, |
| 792 |
_SC_CHILD_MAX = 1, |
|
792 |
_SC_CHILD_MAX = 1, |
| 793 |
_SC_CLK_TCK = 2, |
|
793 |
_SC_CLK_TCK = 2, |
| 794 |
_SC_NGROUPS_MAX = 3, |
|
794 |
_SC_NGROUPS_MAX = 3, |
| 795 |
_SC_OPEN_MAX = 4, |
|
795 |
_SC_OPEN_MAX = 4, |
| 796 |
_SC_STREAM_MAX = 5, |
|
796 |
_SC_STREAM_MAX = 5, |
| 797 |
_SC_TZNAME_MAX = 6, |
|
797 |
_SC_TZNAME_MAX = 6, |
| 798 |
_SC_JOB_CONTROL = 7, |
|
798 |
_SC_JOB_CONTROL = 7, |
| 799 |
_SC_SAVED_IDS = 8, |
|
799 |
_SC_SAVED_IDS = 8, |
| 800 |
_SC_REALTIME_SIGNALS = 9, |
|
800 |
_SC_REALTIME_SIGNALS = 9, |
| 801 |
_SC_PRIORITY_SCHEDULING = 10, |
|
801 |
_SC_PRIORITY_SCHEDULING = 10, |
| 802 |
_SC_TIMERS = 11, |
|
802 |
_SC_TIMERS = 11, |
| 803 |
_SC_ASYNCHRONOUS_IO = 12, |
|
803 |
_SC_ASYNCHRONOUS_IO = 12, |
| 804 |
_SC_PRIORITIZED_IO = 13, |
|
804 |
_SC_PRIORITIZED_IO = 13, |
| 805 |
_SC_SYNCHRONIZED_IO = 14, |
|
805 |
_SC_SYNCHRONIZED_IO = 14, |
| 806 |
_SC_FSYNC = 15, |
|
806 |
_SC_FSYNC = 15, |
| 807 |
_SC_MAPPED_FILES = 16, |
|
807 |
_SC_MAPPED_FILES = 16, |
| 808 |
_SC_MEMLOCK = 17, |
|
808 |
_SC_MEMLOCK = 17, |
| 809 |
_SC_MEMLOCK_RANGE = 18, |
|
809 |
_SC_MEMLOCK_RANGE = 18, |
| 810 |
_SC_MEMORY_PROTECTION = 19, |
|
810 |
_SC_MEMORY_PROTECTION = 19, |
| 811 |
_SC_MESSAGE_PASSING = 20, |
|
811 |
_SC_MESSAGE_PASSING = 20, |
| 812 |
_SC_SEMAPHORES = 21, |
|
812 |
_SC_SEMAPHORES = 21, |
| 813 |
_SC_SHARED_MEMORY_OBJECTS = 22, |
|
813 |
_SC_SHARED_MEMORY_OBJECTS = 22, |
| 814 |
_SC_AIO_LISTIO_MAX = 23, |
|
814 |
_SC_AIO_LISTIO_MAX = 23, |
| 815 |
_SC_AIO_MAX = 24, |
|
815 |
_SC_AIO_MAX = 24, |
| 816 |
_SC_AIO_PRIO_DELTA_MAX = 25, |
|
816 |
_SC_AIO_PRIO_DELTA_MAX = 25, |
| 817 |
_SC_DELAYTIMER_MAX = 26, |
|
817 |
_SC_DELAYTIMER_MAX = 26, |
| 818 |
_SC_MQ_OPEN_MAX = 27, |
|
818 |
_SC_MQ_OPEN_MAX = 27, |
| 819 |
_SC_MQ_PRIO_MAX = 28, |
|
819 |
_SC_MQ_PRIO_MAX = 28, |
| 820 |
_SC_VERSION = 29, |
|
820 |
_SC_VERSION = 29, |
| 821 |
_SC_PAGESIZE = 30, |
|
821 |
_SC_PAGESIZE = 30, |
| 822 |
_SC_RTSIG_MAX = 31, |
|
822 |
_SC_RTSIG_MAX = 31, |
| 823 |
_SC_SEM_NSEMS_MAX = 32, |
|
823 |
_SC_SEM_NSEMS_MAX = 32, |
| 824 |
_SC_SEM_VALUE_MAX = 33, |
|
824 |
_SC_SEM_VALUE_MAX = 33, |
| 825 |
_SC_SIGQUEUE_MAX = 34, |
|
825 |
_SC_SIGQUEUE_MAX = 34, |
| 826 |
_SC_TIMER_MAX = 35, |
|
826 |
_SC_TIMER_MAX = 35, |
| 827 |
_SC_BC_BASE_MAX = 36, |
|
827 |
_SC_BC_BASE_MAX = 36, |
| 828 |
_SC_BC_DIM_MAX = 37, |
|
828 |
_SC_BC_DIM_MAX = 37, |
| 829 |
_SC_BC_SCALE_MAX = 38, |
|
829 |
_SC_BC_SCALE_MAX = 38, |
| 830 |
_SC_BC_STRING_MAX = 39, |
|
830 |
_SC_BC_STRING_MAX = 39, |
| 831 |
_SC_COLL_WEIGHTS_MAX = 40, |
|
831 |
_SC_COLL_WEIGHTS_MAX = 40, |
| 832 |
_SC_EQUIV_CLASS_MAX = 41, |
|
832 |
_SC_EQUIV_CLASS_MAX = 41, |
| 833 |
_SC_EXPR_NEST_MAX = 42, |
|
833 |
_SC_EXPR_NEST_MAX = 42, |
| 834 |
_SC_LINE_MAX = 43, |
|
834 |
_SC_LINE_MAX = 43, |
| 835 |
_SC_RE_DUP_MAX = 44, |
|
835 |
_SC_RE_DUP_MAX = 44, |
| 836 |
_SC_CHARCLASS_NAME_MAX = 45, |
|
836 |
_SC_CHARCLASS_NAME_MAX = 45, |
| 837 |
_SC_2_VERSION = 46, |
|
837 |
_SC_2_VERSION = 46, |
| 838 |
_SC_2_C_BIND = 47, |
|
838 |
_SC_2_C_BIND = 47, |
| 839 |
_SC_2_C_DEV = 48, |
|
839 |
_SC_2_C_DEV = 48, |
| 840 |
_SC_2_FORT_DEV = 49, |
|
840 |
_SC_2_FORT_DEV = 49, |
| 841 |
_SC_2_FORT_RUN = 50, |
|
841 |
_SC_2_FORT_RUN = 50, |
| 842 |
_SC_2_SW_DEV = 51, |
|
842 |
_SC_2_SW_DEV = 51, |
| 843 |
_SC_2_LOCALEDEF = 52, |
|
843 |
_SC_2_LOCALEDEF = 52, |
| 844 |
_SC_PII = 53, |
|
844 |
_SC_PII = 53, |
| 845 |
_SC_PII_XTI = 54, |
|
845 |
_SC_PII_XTI = 54, |
| 846 |
_SC_PII_SOCKET = 55, |
|
846 |
_SC_PII_SOCKET = 55, |
| 847 |
_SC_PII_INTERNET = 56, |
|
847 |
_SC_PII_INTERNET = 56, |
| 848 |
_SC_PII_OSI = 57, |
|
848 |
_SC_PII_OSI = 57, |
| 849 |
_SC_POLL = 58, |
|
849 |
_SC_POLL = 58, |
| 850 |
_SC_SELECT = 59, |
|
850 |
_SC_SELECT = 59, |
| 851 |
_SC_UIO_MAXIOV = 60, |
|
851 |
_SC_UIO_MAXIOV = 60, |
| 852 |
_SC_IOV_MAX = 60, |
|
852 |
_SC_IOV_MAX = 60, |
| 853 |
_SC_PII_INTERNET_STREAM = 61, |
|
853 |
_SC_PII_INTERNET_STREAM = 61, |
| 854 |
_SC_PII_INTERNET_DGRAM = 62, |
|
854 |
_SC_PII_INTERNET_DGRAM = 62, |
| 855 |
_SC_PII_OSI_COTS = 63, |
|
855 |
_SC_PII_OSI_COTS = 63, |
| 856 |
_SC_PII_OSI_CLTS = 64, |
|
856 |
_SC_PII_OSI_CLTS = 64, |
| 857 |
_SC_PII_OSI_M = 65, |
|
857 |
_SC_PII_OSI_M = 65, |
| 858 |
_SC_T_IOV_MAX = 66, |
|
858 |
_SC_T_IOV_MAX = 66, |
| 859 |
_SC_THREADS = 67, |
|
859 |
_SC_THREADS = 67, |
| 860 |
_SC_THREAD_SAFE_FUNCTIONS = 68, |
|
860 |
_SC_THREAD_SAFE_FUNCTIONS = 68, |
| 861 |
_SC_GETGR_R_SIZE_MAX = 69, |
|
861 |
_SC_GETGR_R_SIZE_MAX = 69, |
| 862 |
_SC_GETPW_R_SIZE_MAX = 70, |
|
862 |
_SC_GETPW_R_SIZE_MAX = 70, |
| 863 |
_SC_LOGIN_NAME_MAX = 71, |
|
863 |
_SC_LOGIN_NAME_MAX = 71, |
| 864 |
_SC_TTY_NAME_MAX = 72, |
|
864 |
_SC_TTY_NAME_MAX = 72, |
| 865 |
_SC_THREAD_DESTRUCTOR_ITERATIONS = 73, |
|
865 |
_SC_THREAD_DESTRUCTOR_ITERATIONS = 73, |
| 866 |
_SC_THREAD_KEYS_MAX = 74, |
|
866 |
_SC_THREAD_KEYS_MAX = 74, |
| 867 |
_SC_THREAD_STACK_MIN = 75, |
|
867 |
_SC_THREAD_STACK_MIN = 75, |
| 868 |
_SC_THREAD_THREADS_MAX = 76, |
|
868 |
_SC_THREAD_THREADS_MAX = 76, |
| 869 |
_SC_THREAD_ATTR_STACKADDR = 77, |
|
869 |
_SC_THREAD_ATTR_STACKADDR = 77, |
| 870 |
_SC_THREAD_ATTR_STACKSIZE = 78, |
|
870 |
_SC_THREAD_ATTR_STACKSIZE = 78, |
| 871 |
_SC_THREAD_PRIORITY_SCHEDULING = 79, |
|
871 |
_SC_THREAD_PRIORITY_SCHEDULING = 79, |
| 872 |
_SC_THREAD_PRIO_INHERIT = 80, |
|
872 |
_SC_THREAD_PRIO_INHERIT = 80, |
| 873 |
_SC_THREAD_PRIO_PROTECT = 81, |
|
873 |
_SC_THREAD_PRIO_PROTECT = 81, |
| 874 |
_SC_THREAD_PROCESS_SHARED = 82, |
|
874 |
_SC_THREAD_PROCESS_SHARED = 82, |
| 875 |
_SC_NPROCESSORS_CONF = 83, |
|
875 |
_SC_NPROCESSORS_CONF = 83, |
| 876 |
_SC_NPROCESSORS_ONLN = 84, |
|
876 |
_SC_NPROCESSORS_ONLN = 84, |
| 877 |
_SC_PHYS_PAGES = 85, |
|
877 |
_SC_PHYS_PAGES = 85, |
| 878 |
_SC_AVPHYS_PAGES = 86, |
|
878 |
_SC_AVPHYS_PAGES = 86, |
| 879 |
_SC_ATEXIT_MAX = 87, |
|
879 |
_SC_ATEXIT_MAX = 87, |
| 880 |
_SC_PASS_MAX = 88, |
|
880 |
_SC_PASS_MAX = 88, |
| 881 |
_SC_XOPEN_VERSION = 89, |
|
881 |
_SC_XOPEN_VERSION = 89, |
| 882 |
_SC_XOPEN_XCU_VERSION = 90, |
|
882 |
_SC_XOPEN_XCU_VERSION = 90, |
| 883 |
_SC_XOPEN_UNIX = 91, |
|
883 |
_SC_XOPEN_UNIX = 91, |
| 884 |
_SC_XOPEN_CRYPT = 92, |
|
884 |
_SC_XOPEN_CRYPT = 92, |
| 885 |
_SC_XOPEN_ENH_I18N = 93, |
|
885 |
_SC_XOPEN_ENH_I18N = 93, |
| 886 |
_SC_XOPEN_SHM = 94, |
|
886 |
_SC_XOPEN_SHM = 94, |
| 887 |
_SC_2_CHAR_TERM = 95, |
|
887 |
_SC_2_CHAR_TERM = 95, |
| 888 |
_SC_2_C_VERSION = 96, |
|
888 |
_SC_2_C_VERSION = 96, |
| 889 |
_SC_2_UPE = 97, |
|
889 |
_SC_2_UPE = 97, |
| 890 |
_SC_XOPEN_XPG2 = 98, |
|
890 |
_SC_XOPEN_XPG2 = 98, |
| 891 |
_SC_XOPEN_XPG3 = 99, |
|
891 |
_SC_XOPEN_XPG3 = 99, |
| 892 |
_SC_XOPEN_XPG4 = 100, |
|
892 |
_SC_XOPEN_XPG4 = 100, |
| 893 |
_SC_CHAR_BIT = 101, |
|
893 |
_SC_CHAR_BIT = 101, |
| 894 |
_SC_CHAR_MAX = 102, |
|
894 |
_SC_CHAR_MAX = 102, |
| 895 |
_SC_CHAR_MIN = 103, |
|
895 |
_SC_CHAR_MIN = 103, |
| 896 |
_SC_INT_MAX = 104, |
|
896 |
_SC_INT_MAX = 104, |
| 897 |
_SC_INT_MIN = 105, |
|
897 |
_SC_INT_MIN = 105, |
| 898 |
_SC_LONG_BIT = 106, |
|
898 |
_SC_LONG_BIT = 106, |
| 899 |
_SC_WORD_BIT = 107, |
|
899 |
_SC_WORD_BIT = 107, |
| 900 |
_SC_MB_LEN_MAX = 108, |
|
900 |
_SC_MB_LEN_MAX = 108, |
| 901 |
_SC_NZERO = 109, |
|
901 |
_SC_NZERO = 109, |
| 902 |
_SC_SSIZE_MAX = 110, |
|
902 |
_SC_SSIZE_MAX = 110, |
| 903 |
_SC_SCHAR_MAX = 111, |
|
903 |
_SC_SCHAR_MAX = 111, |
| 904 |
_SC_SCHAR_MIN = 112, |
|
904 |
_SC_SCHAR_MIN = 112, |
| 905 |
_SC_SHRT_MAX = 113, |
|
905 |
_SC_SHRT_MAX = 113, |
| 906 |
_SC_SHRT_MIN = 114, |
|
906 |
_SC_SHRT_MIN = 114, |
| 907 |
_SC_UCHAR_MAX = 115, |
|
907 |
_SC_UCHAR_MAX = 115, |
| 908 |
_SC_UINT_MAX = 116, |
|
908 |
_SC_UINT_MAX = 116, |
| 909 |
_SC_ULONG_MAX = 117, |
|
909 |
_SC_ULONG_MAX = 117, |
| 910 |
_SC_USHRT_MAX = 118, |
|
910 |
_SC_USHRT_MAX = 118, |
| 911 |
_SC_NL_ARGMAX = 119, |
|
911 |
_SC_NL_ARGMAX = 119, |
| 912 |
_SC_NL_LANGMAX = 120, |
|
912 |
_SC_NL_LANGMAX = 120, |
| 913 |
_SC_NL_MSGMAX = 121, |
|
913 |
_SC_NL_MSGMAX = 121, |
| 914 |
_SC_NL_NMAX = 122, |
|
914 |
_SC_NL_NMAX = 122, |
| 915 |
_SC_NL_SETMAX = 123, |
|
915 |
_SC_NL_SETMAX = 123, |
| 916 |
_SC_NL_TEXTMAX = 124, |
|
916 |
_SC_NL_TEXTMAX = 124, |
| 917 |
_SC_XBS5_ILP32_OFF32 = 125, |
|
917 |
_SC_XBS5_ILP32_OFF32 = 125, |
| 918 |
_SC_XBS5_ILP32_OFFBIG = 126, |
|
918 |
_SC_XBS5_ILP32_OFFBIG = 126, |
| 919 |
_SC_XBS5_LP64_OFF64 = 127, |
|
919 |
_SC_XBS5_LP64_OFF64 = 127, |
| 920 |
_SC_XBS5_LPBIG_OFFBIG = 128, |
|
920 |
_SC_XBS5_LPBIG_OFFBIG = 128, |
| 921 |
_SC_XOPEN_LEGACY = 129, |
|
921 |
_SC_XOPEN_LEGACY = 129, |
| 922 |
_SC_XOPEN_REALTIME = 130, |
|
922 |
_SC_XOPEN_REALTIME = 130, |
| 923 |
_SC_XOPEN_REALTIME_THREADS = 131, |
|
923 |
_SC_XOPEN_REALTIME_THREADS = 131, |
| 924 |
_SC_ADVISORY_INFO = 132, |
|
924 |
_SC_ADVISORY_INFO = 132, |
| 925 |
_SC_BARRIERS = 133, |
|
925 |
_SC_BARRIERS = 133, |
| 926 |
_SC_BASE = 134, |
|
926 |
_SC_BASE = 134, |
| 927 |
_SC_C_LANG_SUPPORT = 135, |
|
927 |
_SC_C_LANG_SUPPORT = 135, |
| 928 |
_SC_C_LANG_SUPPORT_R = 136, |
|
928 |
_SC_C_LANG_SUPPORT_R = 136, |
| 929 |
_SC_CLOCK_SELECTION = 137, |
|
929 |
_SC_CLOCK_SELECTION = 137, |
| 930 |
_SC_CPUTIME = 138, |
|
930 |
_SC_CPUTIME = 138, |
| 931 |
_SC_THREAD_CPUTIME = 139, |
|
931 |
_SC_THREAD_CPUTIME = 139, |
| 932 |
_SC_DEVICE_IO = 140, |
|
932 |
_SC_DEVICE_IO = 140, |
| 933 |
_SC_DEVICE_SPECIFIC = 141, |
|
933 |
_SC_DEVICE_SPECIFIC = 141, |
| 934 |
_SC_DEVICE_SPECIFIC_R = 142, |
|
934 |
_SC_DEVICE_SPECIFIC_R = 142, |
| 935 |
_SC_FD_MGMT = 143, |
|
935 |
_SC_FD_MGMT = 143, |
| 936 |
_SC_FIFO = 144, |
|
936 |
_SC_FIFO = 144, |
| 937 |
_SC_PIPE = 145, |
|
937 |
_SC_PIPE = 145, |
| 938 |
_SC_FILE_ATTRIBUTES = 146, |
|
938 |
_SC_FILE_ATTRIBUTES = 146, |
| 939 |
_SC_FILE_LOCKING = 147, |
|
939 |
_SC_FILE_LOCKING = 147, |
| 940 |
_SC_FILE_SYSTEM = 148, |
|
940 |
_SC_FILE_SYSTEM = 148, |
| 941 |
_SC_MONOTONIC_CLOCK = 149, |
|
941 |
_SC_MONOTONIC_CLOCK = 149, |
| 942 |
_SC_MULTI_PROCESS = 150, |
|
942 |
_SC_MULTI_PROCESS = 150, |
| 943 |
_SC_SINGLE_PROCESS = 151, |
|
943 |
_SC_SINGLE_PROCESS = 151, |
| 944 |
_SC_NETWORKING = 152, |
|
944 |
_SC_NETWORKING = 152, |
| 945 |
_SC_READER_WRITER_LOCKS = 153, |
|
945 |
_SC_READER_WRITER_LOCKS = 153, |
| 946 |
_SC_SPIN_LOCKS = 154, |
|
946 |
_SC_SPIN_LOCKS = 154, |
| 947 |
_SC_REGEXP = 155, |
|
947 |
_SC_REGEXP = 155, |
| 948 |
_SC_REGEX_VERSION = 156, |
|
948 |
_SC_REGEX_VERSION = 156, |
| 949 |
_SC_SHELL = 157, |
|
949 |
_SC_SHELL = 157, |
| 950 |
_SC_SIGNALS = 158, |
|
950 |
_SC_SIGNALS = 158, |
| 951 |
_SC_SPAWN = 159, |
|
951 |
_SC_SPAWN = 159, |
| 952 |
_SC_SPORADIC_SERVER = 160, |
|
952 |
_SC_SPORADIC_SERVER = 160, |
| 953 |
_SC_THREAD_SPORADIC_SERVER = 161, |
|
953 |
_SC_THREAD_SPORADIC_SERVER = 161, |
| 954 |
_SC_SYSTEM_DATABASE = 162, |
|
954 |
_SC_SYSTEM_DATABASE = 162, |
| 955 |
_SC_SYSTEM_DATABASE_R = 163, |
|
955 |
_SC_SYSTEM_DATABASE_R = 163, |
| 956 |
_SC_TIMEOUTS = 164, |
|
956 |
_SC_TIMEOUTS = 164, |
| 957 |
_SC_TYPED_MEMORY_OBJECTS = 165, |
|
957 |
_SC_TYPED_MEMORY_OBJECTS = 165, |
| 958 |
_SC_USER_GROUPS = 166, |
|
958 |
_SC_USER_GROUPS = 166, |
| 959 |
_SC_USER_GROUPS_R = 167, |
|
959 |
_SC_USER_GROUPS_R = 167, |
| 960 |
_SC_2_PBS = 168, |
|
960 |
_SC_2_PBS = 168, |
| 961 |
_SC_2_PBS_ACCOUNTING = 169, |
|
961 |
_SC_2_PBS_ACCOUNTING = 169, |
| 962 |
_SC_2_PBS_LOCATE = 170, |
|
962 |
_SC_2_PBS_LOCATE = 170, |
| 963 |
_SC_2_PBS_MESSAGE = 171, |
|
963 |
_SC_2_PBS_MESSAGE = 171, |
| 964 |
_SC_2_PBS_TRACK = 172, |
|
964 |
_SC_2_PBS_TRACK = 172, |
| 965 |
_SC_SYMLOOP_MAX = 173, |
|
965 |
_SC_SYMLOOP_MAX = 173, |
| 966 |
_SC_STREAMS = 174, |
|
966 |
_SC_STREAMS = 174, |
| 967 |
_SC_2_PBS_CHECKPOINT = 175, |
|
967 |
_SC_2_PBS_CHECKPOINT = 175, |
| 968 |
_SC_V6_ILP32_OFF32 = 176, |
|
968 |
_SC_V6_ILP32_OFF32 = 176, |
| 969 |
_SC_V6_ILP32_OFFBIG = 177, |
|
969 |
_SC_V6_ILP32_OFFBIG = 177, |
| 970 |
_SC_V6_LP64_OFF64 = 178, |
|
970 |
_SC_V6_LP64_OFF64 = 178, |
| 971 |
_SC_V6_LPBIG_OFFBIG = 179, |
|
971 |
_SC_V6_LPBIG_OFFBIG = 179, |
| 972 |
_SC_HOST_NAME_MAX = 180, |
|
972 |
_SC_HOST_NAME_MAX = 180, |
| 973 |
_SC_TRACE = 181, |
|
973 |
_SC_TRACE = 181, |
| 974 |
_SC_TRACE_EVENT_FILTER = 182, |
|
974 |
_SC_TRACE_EVENT_FILTER = 182, |
| 975 |
_SC_TRACE_INHERIT = 183, |
|
975 |
_SC_TRACE_INHERIT = 183, |
| 976 |
_SC_TRACE_LOG = 184, |
|
976 |
_SC_TRACE_LOG = 184, |
| 977 |
_SC_LEVEL1_ICACHE_SIZE = 185, |
|
977 |
_SC_LEVEL1_ICACHE_SIZE = 185, |
| 978 |
_SC_LEVEL1_ICACHE_ASSOC = 186, |
|
978 |
_SC_LEVEL1_ICACHE_ASSOC = 186, |
| 979 |
_SC_LEVEL1_ICACHE_LINESIZE = 187, |
|
979 |
_SC_LEVEL1_ICACHE_LINESIZE = 187, |
| 980 |
_SC_LEVEL1_DCACHE_SIZE = 188, |
|
980 |
_SC_LEVEL1_DCACHE_SIZE = 188, |
| 981 |
_SC_LEVEL1_DCACHE_ASSOC = 189, |
|
981 |
_SC_LEVEL1_DCACHE_ASSOC = 189, |
| 982 |
_SC_LEVEL1_DCACHE_LINESIZE = 190, |
|
982 |
_SC_LEVEL1_DCACHE_LINESIZE = 190, |
| 983 |
_SC_LEVEL2_CACHE_SIZE = 191, |
|
983 |
_SC_LEVEL2_CACHE_SIZE = 191, |
| 984 |
_SC_LEVEL2_CACHE_ASSOC = 192, |
|
984 |
_SC_LEVEL2_CACHE_ASSOC = 192, |
| 985 |
_SC_LEVEL2_CACHE_LINESIZE = 193, |
|
985 |
_SC_LEVEL2_CACHE_LINESIZE = 193, |
| 986 |
_SC_LEVEL3_CACHE_SIZE = 194, |
|
986 |
_SC_LEVEL3_CACHE_SIZE = 194, |
| 987 |
_SC_LEVEL3_CACHE_ASSOC = 195, |
|
987 |
_SC_LEVEL3_CACHE_ASSOC = 195, |
| 988 |
_SC_LEVEL3_CACHE_LINESIZE = 196, |
|
988 |
_SC_LEVEL3_CACHE_LINESIZE = 196, |
| 989 |
_SC_LEVEL4_CACHE_SIZE = 197, |
|
989 |
_SC_LEVEL4_CACHE_SIZE = 197, |
| 990 |
_SC_LEVEL4_CACHE_ASSOC = 198, |
|
990 |
_SC_LEVEL4_CACHE_ASSOC = 198, |
| 991 |
_SC_LEVEL4_CACHE_LINESIZE = 199, |
|
991 |
_SC_LEVEL4_CACHE_LINESIZE = 199, |
| 992 |
_SC_IPV6 = 235, |
|
992 |
_SC_IPV6 = 235, |
| 993 |
_SC_RAW_SOCKETS = 236, |
|
993 |
_SC_RAW_SOCKETS = 236, |
| 994 |
_SC_V7_ILP32_OFF32 = 237, |
|
994 |
_SC_V7_ILP32_OFF32 = 237, |
| 995 |
_SC_V7_ILP32_OFFBIG = 238, |
|
995 |
_SC_V7_ILP32_OFFBIG = 238, |
| 996 |
_SC_V7_LP64_OFF64 = 239, |
|
996 |
_SC_V7_LP64_OFF64 = 239, |
| 997 |
_SC_V7_LPBIG_OFFBIG = 240, |
|
997 |
_SC_V7_LPBIG_OFFBIG = 240, |
| 998 |
_SC_SS_REPL_MAX = 241, |
|
998 |
_SC_SS_REPL_MAX = 241, |
| 999 |
_SC_TRACE_EVENT_NAME_MAX = 242, |
|
999 |
_SC_TRACE_EVENT_NAME_MAX = 242, |
| 1000 |
_SC_TRACE_NAME_MAX = 243, |
|
1000 |
_SC_TRACE_NAME_MAX = 243, |
| 1001 |
_SC_TRACE_SYS_MAX = 244, |
|
1001 |
_SC_TRACE_SYS_MAX = 244, |
| 1002 |
_SC_TRACE_USER_EVENT_MAX = 245, |
|
1002 |
_SC_TRACE_USER_EVENT_MAX = 245, |
| 1003 |
_SC_XOPEN_STREAMS = 246, |
|
1003 |
_SC_XOPEN_STREAMS = 246, |
| 1004 |
_SC_THREAD_ROBUST_PRIO_INHERIT = 247, |
|
1004 |
_SC_THREAD_ROBUST_PRIO_INHERIT = 247, |
| 1005 |
_SC_THREAD_ROBUST_PRIO_PROTECT = 248 |
|
1005 |
_SC_THREAD_ROBUST_PRIO_PROTECT = 248 |
| 1006 |
} ; |
|
1006 |
} ; |
| 1007 |
enum __anonenum_49 { |
|
1007 |
enum __anonenum_49 { |
| 1008 |
_CS_PATH = 0, |
|
1008 |
_CS_PATH = 0, |
| 1009 |
_CS_V6_WIDTH_RESTRICTED_ENVS = 1, |
|
1009 |
_CS_V6_WIDTH_RESTRICTED_ENVS = 1, |
| 1010 |
_CS_GNU_LIBC_VERSION = 2, |
|
1010 |
_CS_GNU_LIBC_VERSION = 2, |
| 1011 |
_CS_GNU_LIBPTHREAD_VERSION = 3, |
|
1011 |
_CS_GNU_LIBPTHREAD_VERSION = 3, |
| 1012 |
_CS_V5_WIDTH_RESTRICTED_ENVS = 4, |
|
1012 |
_CS_V5_WIDTH_RESTRICTED_ENVS = 4, |
| 1013 |
_CS_V7_WIDTH_RESTRICTED_ENVS = 5, |
|
1013 |
_CS_V7_WIDTH_RESTRICTED_ENVS = 5, |
| 1014 |
_CS_LFS_CFLAGS = 1000, |
|
1014 |
_CS_LFS_CFLAGS = 1000, |
| 1015 |
_CS_LFS_LDFLAGS = 1001, |
|
1015 |
_CS_LFS_LDFLAGS = 1001, |
| 1016 |
_CS_LFS_LIBS = 1002, |
|
1016 |
_CS_LFS_LIBS = 1002, |
| 1017 |
_CS_LFS_LINTFLAGS = 1003, |
|
1017 |
_CS_LFS_LINTFLAGS = 1003, |
| 1018 |
_CS_LFS64_CFLAGS = 1004, |
|
1018 |
_CS_LFS64_CFLAGS = 1004, |
| 1019 |
_CS_LFS64_LDFLAGS = 1005, |
|
1019 |
_CS_LFS64_LDFLAGS = 1005, |
| 1020 |
_CS_LFS64_LIBS = 1006, |
|
1020 |
_CS_LFS64_LIBS = 1006, |
| 1021 |
_CS_LFS64_LINTFLAGS = 1007, |
|
1021 |
_CS_LFS64_LINTFLAGS = 1007, |
| 1022 |
_CS_XBS5_ILP32_OFF32_CFLAGS = 1100, |
|
1022 |
_CS_XBS5_ILP32_OFF32_CFLAGS = 1100, |
| 1023 |
_CS_XBS5_ILP32_OFF32_LDFLAGS = 1101, |
|
1023 |
_CS_XBS5_ILP32_OFF32_LDFLAGS = 1101, |
| 1024 |
_CS_XBS5_ILP32_OFF32_LIBS = 1102, |
|
1024 |
_CS_XBS5_ILP32_OFF32_LIBS = 1102, |
| 1025 |
_CS_XBS5_ILP32_OFF32_LINTFLAGS = 1103, |
|
1025 |
_CS_XBS5_ILP32_OFF32_LINTFLAGS = 1103, |
| 1026 |
_CS_XBS5_ILP32_OFFBIG_CFLAGS = 1104, |
|
1026 |
_CS_XBS5_ILP32_OFFBIG_CFLAGS = 1104, |
| 1027 |
_CS_XBS5_ILP32_OFFBIG_LDFLAGS = 1105, |
|
1027 |
_CS_XBS5_ILP32_OFFBIG_LDFLAGS = 1105, |
| 1028 |
_CS_XBS5_ILP32_OFFBIG_LIBS = 1106, |
|
1028 |
_CS_XBS5_ILP32_OFFBIG_LIBS = 1106, |
| 1029 |
_CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107, |
|
1029 |
_CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107, |
| 1030 |
_CS_XBS5_LP64_OFF64_CFLAGS = 1108, |
|
1030 |
_CS_XBS5_LP64_OFF64_CFLAGS = 1108, |
| 1031 |
_CS_XBS5_LP64_OFF64_LDFLAGS = 1109, |
|
1031 |
_CS_XBS5_LP64_OFF64_LDFLAGS = 1109, |
| 1032 |
_CS_XBS5_LP64_OFF64_LIBS = 1110, |
|
1032 |
_CS_XBS5_LP64_OFF64_LIBS = 1110, |
| 1033 |
_CS_XBS5_LP64_OFF64_LINTFLAGS = 1111, |
|
1033 |
_CS_XBS5_LP64_OFF64_LINTFLAGS = 1111, |
| 1034 |
_CS_XBS5_LPBIG_OFFBIG_CFLAGS = 1112, |
|
1034 |
_CS_XBS5_LPBIG_OFFBIG_CFLAGS = 1112, |
| 1035 |
_CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 1113, |
|
1035 |
_CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 1113, |
| 1036 |
_CS_XBS5_LPBIG_OFFBIG_LIBS = 1114, |
|
1036 |
_CS_XBS5_LPBIG_OFFBIG_LIBS = 1114, |
| 1037 |
_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115, |
|
1037 |
_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115, |
| 1038 |
_CS_POSIX_V6_ILP32_OFF32_CFLAGS = 1116, |
|
1038 |
_CS_POSIX_V6_ILP32_OFF32_CFLAGS = 1116, |
| 1039 |
_CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 1117, |
|
1039 |
_CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 1117, |
| 1040 |
_CS_POSIX_V6_ILP32_OFF32_LIBS = 1118, |
|
1040 |
_CS_POSIX_V6_ILP32_OFF32_LIBS = 1118, |
| 1041 |
_CS_POSIX_V6_ILP32_OFF32_LINTFLAGS = 1119, |
|
1041 |
_CS_POSIX_V6_ILP32_OFF32_LINTFLAGS = 1119, |
| 1042 |
_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 1120, |
|
1042 |
_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 1120, |
| 1043 |
_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 1121, |
|
1043 |
_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 1121, |
| 1044 |
_CS_POSIX_V6_ILP32_OFFBIG_LIBS = 1122, |
|
1044 |
_CS_POSIX_V6_ILP32_OFFBIG_LIBS = 1122, |
| 1045 |
_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123, |
|
1045 |
_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123, |
| 1046 |
_CS_POSIX_V6_LP64_OFF64_CFLAGS = 1124, |
|
1046 |
_CS_POSIX_V6_LP64_OFF64_CFLAGS = 1124, |
| 1047 |
_CS_POSIX_V6_LP64_OFF64_LDFLAGS = 1125, |
|
1047 |
_CS_POSIX_V6_LP64_OFF64_LDFLAGS = 1125, |
| 1048 |
_CS_POSIX_V6_LP64_OFF64_LIBS = 1126, |
|
1048 |
_CS_POSIX_V6_LP64_OFF64_LIBS = 1126, |
| 1049 |
_CS_POSIX_V6_LP64_OFF64_LINTFLAGS = 1127, |
|
1049 |
_CS_POSIX_V6_LP64_OFF64_LINTFLAGS = 1127, |
| 1050 |
_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 1128, |
|
1050 |
_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 1128, |
| 1051 |
_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 1129, |
|
1051 |
_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 1129, |
| 1052 |
_CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 1130, |
|
1052 |
_CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 1130, |
| 1053 |
_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131, |
|
1053 |
_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131, |
| 1054 |
_CS_POSIX_V7_ILP32_OFF32_CFLAGS = 1132, |
|
1054 |
_CS_POSIX_V7_ILP32_OFF32_CFLAGS = 1132, |
| 1055 |
_CS_POSIX_V7_ILP32_OFF32_LDFLAGS = 1133, |
|
1055 |
_CS_POSIX_V7_ILP32_OFF32_LDFLAGS = 1133, |
| 1056 |
_CS_POSIX_V7_ILP32_OFF32_LIBS = 1134, |
|
1056 |
_CS_POSIX_V7_ILP32_OFF32_LIBS = 1134, |
| 1057 |
_CS_POSIX_V7_ILP32_OFF32_LINTFLAGS = 1135, |
|
1057 |
_CS_POSIX_V7_ILP32_OFF32_LINTFLAGS = 1135, |
| 1058 |
_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS = 1136, |
|
1058 |
_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS = 1136, |
| 1059 |
_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS = 1137, |
|
1059 |
_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS = 1137, |
| 1060 |
_CS_POSIX_V7_ILP32_OFFBIG_LIBS = 1138, |
|
1060 |
_CS_POSIX_V7_ILP32_OFFBIG_LIBS = 1138, |
| 1061 |
_CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139, |
|
1061 |
_CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139, |
| 1062 |
_CS_POSIX_V7_LP64_OFF64_CFLAGS = 1140, |
|
1062 |
_CS_POSIX_V7_LP64_OFF64_CFLAGS = 1140, |
| 1063 |
_CS_POSIX_V7_LP64_OFF64_LDFLAGS = 1141, |
|
1063 |
_CS_POSIX_V7_LP64_OFF64_LDFLAGS = 1141, |
| 1064 |
_CS_POSIX_V7_LP64_OFF64_LIBS = 1142, |
|
1064 |
_CS_POSIX_V7_LP64_OFF64_LIBS = 1142, |
| 1065 |
_CS_POSIX_V7_LP64_OFF64_LINTFLAGS = 1143, |
|
1065 |
_CS_POSIX_V7_LP64_OFF64_LINTFLAGS = 1143, |
| 1066 |
_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS = 1144, |
|
1066 |
_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS = 1144, |
| 1067 |
_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS = 1145, |
|
1067 |
_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS = 1145, |
| 1068 |
_CS_POSIX_V7_LPBIG_OFFBIG_LIBS = 1146, |
|
1068 |
_CS_POSIX_V7_LPBIG_OFFBIG_LIBS = 1146, |
| 1069 |
_CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147, |
|
1069 |
_CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147, |
| 1070 |
_CS_V6_ENV = 1148, |
|
1070 |
_CS_V6_ENV = 1148, |
| 1071 |
_CS_V7_ENV = 1149 |
|
1071 |
_CS_V7_ENV = 1149 |
| 1072 |
} ; |
|
1072 |
} ; |
| 1073 |
struct __anonstruct___wait_terminated_50 { |
|
1073 |
struct __anonstruct___wait_terminated_50 { |
| 1074 |
unsigned int __w_termsig : 7 ; |
|
1074 |
unsigned int __w_termsig : 7 ; |
| 1075 |
unsigned int __w_coredump : 1 ; |
|
1075 |
unsigned int __w_coredump : 1 ; |
| 1076 |
unsigned int __w_retcode : 8 ; |
|
1076 |
unsigned int __w_retcode : 8 ; |
| 1077 |
unsigned int : 16 ; |
|
1077 |
unsigned int : 16 ; |
| 1078 |
}; |
|
1078 |
}; |
| 1079 |
struct __anonstruct___wait_stopped_51 { |
|
1079 |
struct __anonstruct___wait_stopped_51 { |
| 1080 |
unsigned int __w_stopval : 8 ; |
|
1080 |
unsigned int __w_stopval : 8 ; |
| 1081 |
unsigned int __w_stopsig : 8 ; |
|
1081 |
unsigned int __w_stopsig : 8 ; |
| 1082 |
unsigned int : 16 ; |
|
1082 |
unsigned int : 16 ; |
| 1083 |
}; |
|
1083 |
}; |
| 1084 |
union wait { |
|
1084 |
union wait { |
| 1085 |
int w_status ; |
|
1085 |
int w_status ; |
| 1086 |
struct __anonstruct___wait_terminated_50 __wait_terminated ; |
|
1086 |
struct __anonstruct___wait_terminated_50 __wait_terminated ; |
| 1087 |
struct __anonstruct___wait_stopped_51 __wait_stopped ; |
|
1087 |
struct __anonstruct___wait_stopped_51 __wait_stopped ; |
| 1088 |
}; |
|
1088 |
}; |
| 1089 |
union __anonunion___WAIT_STATUS_52 { |
|
1089 |
union __anonunion___WAIT_STATUS_52 { |
| 1090 |
union wait *__uptr ; |
|
1090 |
union wait *__uptr ; |
| 1091 |
int *__iptr ; |
|
1091 |
int *__iptr ; |
| 1092 |
}; |
|
1092 |
}; |
| 1093 |
typedef union __anonunion___WAIT_STATUS_52 __attribute__((__transparent_union__)) __WAIT_STATUS; |
|
1093 |
typedef union __anonunion___WAIT_STATUS_52 __attribute__((__transparent_union__)) __WAIT_STATUS; |
| 1094 |
struct __anonstruct_div_t_53 { |
|
1094 |
struct __anonstruct_div_t_53 { |
| 1095 |
int quot ; |
|
1095 |
int quot ; |
| 1096 |
int rem ; |
|
1096 |
int rem ; |
| 1097 |
}; |
|
1097 |
}; |
| 1098 |
typedef struct __anonstruct_div_t_53 div_t; |
|
1098 |
typedef struct __anonstruct_div_t_53 div_t; |
| 1099 |
struct __anonstruct_ldiv_t_54 { |
|
1099 |
struct __anonstruct_ldiv_t_54 { |
| 1100 |
long quot ; |
|
1100 |
long quot ; |
| 1101 |
long rem ; |
|
1101 |
long rem ; |
| 1102 |
}; |
|
1102 |
}; |
| 1103 |
typedef struct __anonstruct_ldiv_t_54 ldiv_t; |
|
1103 |
typedef struct __anonstruct_ldiv_t_54 ldiv_t; |
| 1104 |
struct __anonstruct_lldiv_t_55 { |
|
1104 |
struct __anonstruct_lldiv_t_55 { |
| 1105 |
long long quot ; |
|
1105 |
long long quot ; |
| 1106 |
long long rem ; |
|
1106 |
long long rem ; |
| 1107 |
}; |
|
1107 |
}; |
| 1108 |
typedef struct __anonstruct_lldiv_t_55 lldiv_t; |
|
1108 |
typedef struct __anonstruct_lldiv_t_55 lldiv_t; |
| 1109 |
struct random_data { |
|
1109 |
struct random_data { |
| 1110 |
int32_t *fptr ; |
|
1110 |
int32_t *fptr ; |
| 1111 |
int32_t *rptr ; |
|
1111 |
int32_t *rptr ; |
| 1112 |
int32_t *state ; |
|
1112 |
int32_t *state ; |
| 1113 |
int rand_type ; |
|
1113 |
int rand_type ; |
| 1114 |
int rand_deg ; |
|
1114 |
int rand_deg ; |
| 1115 |
int rand_sep ; |
|
1115 |
int rand_sep ; |
| 1116 |
int32_t *end_ptr ; |
|
1116 |
int32_t *end_ptr ; |
| 1117 |
}; |
|
1117 |
}; |
| 1118 |
struct drand48_data { |
|
1118 |
struct drand48_data { |
| 1119 |
unsigned short __x[3] ; |
|
1119 |
unsigned short __x[3] ; |
| 1120 |
unsigned short __old_x[3] ; |
|
1120 |
unsigned short __old_x[3] ; |
| 1121 |
unsigned short __c ; |
|
1121 |
unsigned short __c ; |
| 1122 |
unsigned short __init ; |
|
1122 |
unsigned short __init ; |
| 1123 |
unsigned long long __a ; |
|
1123 |
unsigned long long __a ; |
| 1124 |
}; |
|
1124 |
}; |
| 1125 |
typedef int (*__compar_fn_t)(void const * , void const * ); |
|
1125 |
typedef int (*__compar_fn_t)(void const * , void const * ); |
| 1126 |
typedef int (*comparison_fn_t)(void const * , void const * ); |
|
1126 |
typedef int (*comparison_fn_t)(void const * , void const * ); |
| 1127 |
typedef int (*__compar_d_fn_t)(void const * , void const * , void * ); |
|
1127 |
typedef int (*__compar_d_fn_t)(void const * , void const * , void * ); |
| 1128 |
struct iovec { |
|
1128 |
struct iovec { |
| 1129 |
void *iov_base ; |
|
1129 |
void *iov_base ; |
| 1130 |
size_t iov_len ; |
|
1130 |
size_t iov_len ; |
| 1131 |
}; |
|
1131 |
}; |
| 1132 |
struct flock { |
|
1132 |
struct flock { |
| 1133 |
short l_type ; |
|
1133 |
short l_type ; |
| 1134 |
short l_whence ; |
|
1134 |
short l_whence ; |
| 1135 |
__off64_t l_start ; |
|
1135 |
__off64_t l_start ; |
| 1136 |
__off64_t l_len ; |
|
1136 |
__off64_t l_len ; |
| 1137 |
__pid_t l_pid ; |
|
1137 |
__pid_t l_pid ; |
| 1138 |
}; |
|
1138 |
}; |
| 1139 |
struct flock64 { |
|
1139 |
struct flock64 { |
| 1140 |
short l_type ; |
|
1140 |
short l_type ; |
| 1141 |
short l_whence ; |
|
1141 |
short l_whence ; |
| 1142 |
__off64_t l_start ; |
|
1142 |
__off64_t l_start ; |
| 1143 |
__off64_t l_len ; |
|
1143 |
__off64_t l_len ; |
| 1144 |
__pid_t l_pid ; |
|
1144 |
__pid_t l_pid ; |
| 1145 |
}; |
|
1145 |
}; |
| 1146 |
enum __pid_type { |
|
1146 |
enum __pid_type { |
| 1147 |
F_OWNER_TID = 0, |
|
1147 |
F_OWNER_TID = 0, |
| 1148 |
F_OWNER_PID = 1, |
|
1148 |
F_OWNER_PID = 1, |
| 1149 |
F_OWNER_PGRP = 2, |
|
1149 |
F_OWNER_PGRP = 2, |
| 1150 |
F_OWNER_GID = 2 |
|
1150 |
F_OWNER_GID = 2 |
| 1151 |
} ; |
|
1151 |
} ; |
| 1152 |
struct f_owner_ex { |
|
1152 |
struct f_owner_ex { |
| 1153 |
enum __pid_type type ; |
|
1153 |
enum __pid_type type ; |
| 1154 |
__pid_t pid ; |
|
1154 |
__pid_t pid ; |
| 1155 |
}; |
|
1155 |
}; |
| 1156 |
struct dirent { |
|
1156 |
struct dirent { |
| 1157 |
__ino64_t d_ino ; |
|
1157 |
__ino64_t d_ino ; |
| 1158 |
__off64_t d_off ; |
|
1158 |
__off64_t d_off ; |
| 1159 |
unsigned short d_reclen ; |
|
1159 |
unsigned short d_reclen ; |
| 1160 |
unsigned char d_type ; |
|
1160 |
unsigned char d_type ; |
| 1161 |
char d_name[256] ; |
|
1161 |
char d_name[256] ; |
| 1162 |
}; |
|
1162 |
}; |
| 1163 |
struct dirent64 { |
|
1163 |
struct dirent64 { |
| 1164 |
__ino64_t d_ino ; |
|
1164 |
__ino64_t d_ino ; |
| 1165 |
__off64_t d_off ; |
|
1165 |
__off64_t d_off ; |
| 1166 |
unsigned short d_reclen ; |
|
1166 |
unsigned short d_reclen ; |
| 1167 |
unsigned char d_type ; |
|
1167 |
unsigned char d_type ; |
| 1168 |
char d_name[256] ; |
|
1168 |
char d_name[256] ; |
| 1169 |
}; |
|
1169 |
}; |
| 1170 |
enum __anonenum_56 { |
|
1170 |
enum __anonenum_56 { |
| 1171 |
DT_UNKNOWN = 0, |
|
1171 |
DT_UNKNOWN = 0, |
| 1172 |
DT_FIFO = 1, |
|
1172 |
DT_FIFO = 1, |
| 1173 |
DT_CHR = 2, |
|
1173 |
DT_CHR = 2, |
| 1174 |
DT_DIR = 4, |
|
1174 |
DT_DIR = 4, |
| 1175 |
DT_BLK = 6, |
|
1175 |
DT_BLK = 6, |
| 1176 |
DT_REG = 8, |
|
1176 |
DT_REG = 8, |
| 1177 |
DT_LNK = 10, |
|
1177 |
DT_LNK = 10, |
| 1178 |
DT_SOCK = 12, |
|
1178 |
DT_SOCK = 12, |
| 1179 |
DT_WHT = 14 |
|
1179 |
DT_WHT = 14 |
| 1180 |
} ; |
|
1180 |
} ; |
| 1181 |
struct __dirstream; |
|
1181 |
struct __dirstream; |
| 1182 |
typedef struct __dirstream DIR; |
|
1182 |
typedef struct __dirstream DIR; |
| 1183 |
static char *license_msg[6] = { (char *)"Copyright (C) 2007 Free Software Foundation, Inc.", (char *)"Copyright (C) 1993 Jean-loup Gailly.", (char *)"This is free software. You may redistribute copies of it under the terms of", (char *)"the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.", |
|
1183 |
static char *license_msg[6] = { (char *)"Copyright (C) 2007 Free Software Foundation, Inc.", (char *)"Copyright (C) 1993 Jean-loup Gailly.", (char *)"This is free software. You may redistribute copies of it under the terms of", (char *)"the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.", |
| 1184 |
(char *)"There is NO WARRANTY, to the extent permitted by law.", (char *)0}; |
|
1184 |
(char *)"There is NO WARRANTY, to the extent permitted by law.", (char *)0}; |
| 1185 |
extern __attribute__((__nothrow__)) unsigned short const **__ctype_b_loc(void) __attribute__((__const__)) ; |
|
1185 |
extern __attribute__((__nothrow__)) unsigned short const **__ctype_b_loc(void) __attribute__((__const__)) ; |
| 1186 |
extern __attribute__((__nothrow__)) __int32_t const **__ctype_tolower_loc(void) __attribute__((__const__)) ; |
|
1186 |
extern __attribute__((__nothrow__)) __int32_t const **__ctype_tolower_loc(void) __attribute__((__const__)) ; |
| 1187 |
extern __attribute__((__nothrow__)) __int32_t const **__ctype_toupper_loc(void) __attribute__((__const__)) ; |
|
1187 |
extern __attribute__((__nothrow__)) __int32_t const **__ctype_toupper_loc(void) __attribute__((__const__)) ; |
| 1188 |
extern __attribute__((__nothrow__)) int isalnum(int ) ; |
|
1188 |
extern __attribute__((__nothrow__)) int isalnum(int ) ; |
| 1189 |
extern __attribute__((__nothrow__)) int isalpha(int ) ; |
|
1189 |
extern __attribute__((__nothrow__)) int isalpha(int ) ; |
| 1190 |
extern __attribute__((__nothrow__)) int iscntrl(int ) ; |
|
1190 |
extern __attribute__((__nothrow__)) int iscntrl(int ) ; |
| 1191 |
extern __attribute__((__nothrow__)) int isdigit(int ) ; |
|
1191 |
extern __attribute__((__nothrow__)) int isdigit(int ) ; |
| 1192 |
extern __attribute__((__nothrow__)) int islower(int ) ; |
|
1192 |
extern __attribute__((__nothrow__)) int islower(int ) ; |
| 1193 |
extern __attribute__((__nothrow__)) int isgraph(int ) ; |
|
1193 |
extern __attribute__((__nothrow__)) int isgraph(int ) ; |
| 1194 |
extern __attribute__((__nothrow__)) int isprint(int ) ; |
|
1194 |
extern __attribute__((__nothrow__)) int isprint(int ) ; |
| 1195 |
extern __attribute__((__nothrow__)) int ispunct(int ) ; |
|
1195 |
extern __attribute__((__nothrow__)) int ispunct(int ) ; |
| 1196 |
extern __attribute__((__nothrow__)) int isspace(int ) ; |
|
1196 |
extern __attribute__((__nothrow__)) int isspace(int ) ; |
| 1197 |
extern __attribute__((__nothrow__)) int isupper(int ) ; |
|
1197 |
extern __attribute__((__nothrow__)) int isupper(int ) ; |
| 1198 |
extern __attribute__((__nothrow__)) int isxdigit(int ) ; |
|
1198 |
extern __attribute__((__nothrow__)) int isxdigit(int ) ; |
| 1199 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) tolower(int __c ) ; |
|
1199 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) tolower(int __c ) ; |
| 1200 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) toupper(int __c ) ; |
|
1200 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) toupper(int __c ) ; |
| 1201 |
extern __attribute__((__nothrow__)) int isblank(int ) ; |
|
1201 |
extern __attribute__((__nothrow__)) int isblank(int ) ; |
| 1202 |
extern __attribute__((__nothrow__)) int isctype(int __c , int __mask ) ; |
|
1202 |
extern __attribute__((__nothrow__)) int isctype(int __c , int __mask ) ; |
| 1203 |
extern __attribute__((__nothrow__)) int isascii(int __c ) ; |
|
1203 |
extern __attribute__((__nothrow__)) int isascii(int __c ) ; |
| 1204 |
extern __attribute__((__nothrow__)) int toascii(int __c ) ; |
|
1204 |
extern __attribute__((__nothrow__)) int toascii(int __c ) ; |
| 1205 |
extern __attribute__((__nothrow__)) int _toupper(int ) ; |
|
1205 |
extern __attribute__((__nothrow__)) int _toupper(int ) ; |
| 1206 |
extern __attribute__((__nothrow__)) int _tolower(int ) ; |
|
1206 |
extern __attribute__((__nothrow__)) int _tolower(int ) ; |
| 1207 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) tolower(int __c ) ; |
|
1207 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) tolower(int __c ) ; |
| 1208 |
__inline extern int __attribute__((__gnu_inline__)) tolower(int __c ) |
|
1208 |
__inline extern int __attribute__((__gnu_inline__)) tolower(int __c ) |
| 1209 |
{ |
|
1209 |
{ |
| 1210 |
__int32_t const **tmp ; |
|
1210 |
__int32_t const **tmp ; |
| 1211 |
__int32_t tmp___0 ; |
|
1211 |
__int32_t tmp___0 ; |
| 1212 |
|
|
1212 |
|
| 1213 |
{ |
|
1213 |
{ |
| 1214 |
if (__c >= -128) { |
|
1214 |
if (__c >= -128) { |
| 1215 |
if (__c < 256) { |
|
1215 |
if (__c < 256) { |
| 1216 |
tmp = __ctype_tolower_loc(); |
|
1216 |
tmp = __ctype_tolower_loc(); |
| 1217 |
tmp___0 = *(*tmp + __c); |
|
1217 |
tmp___0 = *(*tmp + __c); |
| 1218 |
} else { |
|
1218 |
} else { |
| 1219 |
tmp___0 = (__int32_t const )__c; |
|
1219 |
tmp___0 = (__int32_t const )__c; |
| 1220 |
} |
|
1220 |
} |
| 1221 |
} else { |
|
1221 |
} else { |
| 1222 |
tmp___0 = (__int32_t const )__c; |
|
1222 |
tmp___0 = (__int32_t const )__c; |
| 1223 |
} |
|
1223 |
} |
| 1224 |
return ((int __attribute__((__gnu_inline__)) )tmp___0); |
|
1224 |
return ((int __attribute__((__gnu_inline__)) )tmp___0); |
| 1225 |
} |
|
1225 |
} |
| 1226 |
} |
|
1226 |
} |
| 1227 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) toupper(int __c ) ; |
|
1227 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) toupper(int __c ) ; |
| 1228 |
__inline extern int __attribute__((__gnu_inline__)) toupper(int __c ) |
|
1228 |
__inline extern int __attribute__((__gnu_inline__)) toupper(int __c ) |
| 1229 |
{ |
|
1229 |
{ |
| 1230 |
__int32_t const **tmp ; |
|
1230 |
__int32_t const **tmp ; |
| 1231 |
__int32_t tmp___0 ; |
|
1231 |
__int32_t tmp___0 ; |
| 1232 |
|
|
1232 |
|
| 1233 |
{ |
|
1233 |
{ |
| 1234 |
if (__c >= -128) { |
|
1234 |
if (__c >= -128) { |
| 1235 |
if (__c < 256) { |
|
1235 |
if (__c < 256) { |
| 1236 |
tmp = __ctype_toupper_loc(); |
|
1236 |
tmp = __ctype_toupper_loc(); |
| 1237 |
tmp___0 = *(*tmp + __c); |
|
1237 |
tmp___0 = *(*tmp + __c); |
| 1238 |
} else { |
|
1238 |
} else { |
| 1239 |
tmp___0 = (__int32_t const )__c; |
|
1239 |
tmp___0 = (__int32_t const )__c; |
| 1240 |
} |
|
1240 |
} |
| 1241 |
} else { |
|
1241 |
} else { |
| 1242 |
tmp___0 = (__int32_t const )__c; |
|
1242 |
tmp___0 = (__int32_t const )__c; |
| 1243 |
} |
|
1243 |
} |
| 1244 |
return ((int __attribute__((__gnu_inline__)) )tmp___0); |
|
1244 |
return ((int __attribute__((__gnu_inline__)) )tmp___0); |
| 1245 |
} |
|
1245 |
} |
| 1246 |
} |
|
1246 |
} |
| 1247 |
extern __attribute__((__nothrow__)) int isalnum_l(int , __locale_t ) ; |
|
1247 |
extern __attribute__((__nothrow__)) int isalnum_l(int , __locale_t ) ; |
| 1248 |
extern __attribute__((__nothrow__)) int isalpha_l(int , __locale_t ) ; |
|
1248 |
extern __attribute__((__nothrow__)) int isalpha_l(int , __locale_t ) ; |
| 1249 |
extern __attribute__((__nothrow__)) int iscntrl_l(int , __locale_t ) ; |
|
1249 |
extern __attribute__((__nothrow__)) int iscntrl_l(int , __locale_t ) ; |
| 1250 |
extern __attribute__((__nothrow__)) int isdigit_l(int , __locale_t ) ; |
|
1250 |
extern __attribute__((__nothrow__)) int isdigit_l(int , __locale_t ) ; |
| 1251 |
extern __attribute__((__nothrow__)) int islower_l(int , __locale_t ) ; |
|
1251 |
extern __attribute__((__nothrow__)) int islower_l(int , __locale_t ) ; |
| 1252 |
extern __attribute__((__nothrow__)) int isgraph_l(int , __locale_t ) ; |
|
1252 |
extern __attribute__((__nothrow__)) int isgraph_l(int , __locale_t ) ; |
| 1253 |
extern __attribute__((__nothrow__)) int isprint_l(int , __locale_t ) ; |
|
1253 |
extern __attribute__((__nothrow__)) int isprint_l(int , __locale_t ) ; |
| 1254 |
extern __attribute__((__nothrow__)) int ispunct_l(int , __locale_t ) ; |
|
1254 |
extern __attribute__((__nothrow__)) int ispunct_l(int , __locale_t ) ; |
| 1255 |
extern __attribute__((__nothrow__)) int isspace_l(int , __locale_t ) ; |
|
1255 |
extern __attribute__((__nothrow__)) int isspace_l(int , __locale_t ) ; |
| 1256 |
extern __attribute__((__nothrow__)) int isupper_l(int , __locale_t ) ; |
|
1256 |
extern __attribute__((__nothrow__)) int isupper_l(int , __locale_t ) ; |
| 1257 |
extern __attribute__((__nothrow__)) int isxdigit_l(int , __locale_t ) ; |
|
1257 |
extern __attribute__((__nothrow__)) int isxdigit_l(int , __locale_t ) ; |
| 1258 |
extern __attribute__((__nothrow__)) int isblank_l(int , __locale_t ) ; |
|
1258 |
extern __attribute__((__nothrow__)) int isblank_l(int , __locale_t ) ; |
| 1259 |
extern __attribute__((__nothrow__)) int __tolower_l(int __c , __locale_t __l ) ; |
|
1259 |
extern __attribute__((__nothrow__)) int __tolower_l(int __c , __locale_t __l ) ; |
| 1260 |
extern __attribute__((__nothrow__)) int tolower_l(int __c , __locale_t __l ) ; |
|
1260 |
extern __attribute__((__nothrow__)) int tolower_l(int __c , __locale_t __l ) ; |
| 1261 |
extern __attribute__((__nothrow__)) int __toupper_l(int __c , __locale_t __l ) ; |
|
1261 |
extern __attribute__((__nothrow__)) int __toupper_l(int __c , __locale_t __l ) ; |
| 1262 |
extern __attribute__((__nothrow__)) int toupper_l(int __c , __locale_t __l ) ; |
|
1262 |
extern __attribute__((__nothrow__)) int toupper_l(int __c , __locale_t __l ) ; |
| 1263 |
extern int select(int __nfds , fd_set * __restrict __readfds , |
|
1263 |
extern int select(int __nfds , fd_set * __restrict __readfds , |
| 1264 |
fd_set * __restrict __writefds , |
|
1264 |
fd_set * __restrict __writefds , |
| 1265 |
fd_set * __restrict __exceptfds , |
|
1265 |
fd_set * __restrict __exceptfds , |
| 1266 |
struct timeval * __restrict __timeout ) ; |
|
1266 |
struct timeval * __restrict __timeout ) ; |
| 1267 |
extern int pselect(int __nfds , fd_set * __restrict __readfds , |
|
1267 |
extern int pselect(int __nfds , fd_set * __restrict __readfds , |
| 1268 |
fd_set * __restrict __writefds , |
|
1268 |
fd_set * __restrict __writefds , |
| 1269 |
fd_set * __restrict __exceptfds , |
|
1269 |
fd_set * __restrict __exceptfds , |
| 1270 |
struct timespec const * __restrict __timeout , |
|
1270 |
struct timespec const * __restrict __timeout , |
| 1271 |
__sigset_t const * __restrict __sigmask ) ; |
|
1271 |
__sigset_t const * __restrict __sigmask ) ; |
| 1272 |
__inline extern __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__)) gnu_dev_major(unsigned long long __dev ) ; |
|
1272 |
__inline extern __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__)) gnu_dev_major(unsigned long long __dev ) ; |
| 1273 |
__inline extern __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__)) gnu_dev_minor(unsigned long long __dev ) ; |
|
1273 |
__inline extern __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__)) gnu_dev_minor(unsigned long long __dev ) ; |
| 1274 |
__inline extern __attribute__((__nothrow__)) unsigned long long __attribute__((__gnu_inline__)) gnu_dev_makedev(unsigned int __major , |
|
1274 |
__inline extern __attribute__((__nothrow__)) unsigned long long __attribute__((__gnu_inline__)) gnu_dev_makedev(unsigned int __major , |
| 1275 |
unsigned int __minor ) ; |
|
1275 |
unsigned int __minor ) ; |
| 1276 |
__inline extern __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__)) gnu_dev_major(unsigned long long __dev ) ; |
|
1276 |
__inline extern __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__)) gnu_dev_major(unsigned long long __dev ) ; |
| 1277 |
__inline extern unsigned int __attribute__((__gnu_inline__)) gnu_dev_major(unsigned long long __dev ) |
|
1277 |
__inline extern unsigned int __attribute__((__gnu_inline__)) gnu_dev_major(unsigned long long __dev ) |
| 1278 |
{ |
|
1278 |
{ |
| 1279 |
|
|
1279 |
|
| 1280 |
|
|
1280 |
|
| 1281 |
{ |
|
1281 |
{ |
| 1282 |
return ((unsigned int __attribute__((__gnu_inline__)) )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U))); |
|
1282 |
return ((unsigned int __attribute__((__gnu_inline__)) )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U))); |
| 1283 |
} |
|
1283 |
} |
| 1284 |
} |
|
1284 |
} |
| 1285 |
__inline extern __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__)) gnu_dev_minor(unsigned long long __dev ) ; |
|
1285 |
__inline extern __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__)) gnu_dev_minor(unsigned long long __dev ) ; |
| 1286 |
__inline extern unsigned int __attribute__((__gnu_inline__)) gnu_dev_minor(unsigned long long __dev ) |
|
1286 |
__inline extern unsigned int __attribute__((__gnu_inline__)) gnu_dev_minor(unsigned long long __dev ) |
| 1287 |
{ |
|
1287 |
{ |
| 1288 |
|
|
1288 |
|
| 1289 |
|
|
1289 |
|
| 1290 |
{ |
|
1290 |
{ |
| 1291 |
return ((unsigned int __attribute__((__gnu_inline__)) )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U))); |
|
1291 |
return ((unsigned int __attribute__((__gnu_inline__)) )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U))); |
| 1292 |
} |
|
1292 |
} |
| 1293 |
} |
|
1293 |
} |
| 1294 |
__inline extern __attribute__((__nothrow__)) unsigned long long __attribute__((__gnu_inline__)) gnu_dev_makedev(unsigned int __major , |
|
1294 |
__inline extern __attribute__((__nothrow__)) unsigned long long __attribute__((__gnu_inline__)) gnu_dev_makedev(unsigned int __major , |
| 1295 |
unsigned int __minor ) ; |
|
1295 |
unsigned int __minor ) ; |
| 1296 |
__inline extern unsigned long long __attribute__((__gnu_inline__)) gnu_dev_makedev(unsigned int __major , |
|
1296 |
__inline extern unsigned long long __attribute__((__gnu_inline__)) gnu_dev_makedev(unsigned int __major , |
| 1297 |
unsigned int __minor ) |
|
1297 |
unsigned int __minor ) |
| 1298 |
{ |
|
1298 |
{ |
| 1299 |
|
|
1299 |
|
| 1300 |
|
|
1300 |
|
| 1301 |
{ |
|
1301 |
{ |
| 1302 |
return ((unsigned long long __attribute__((__gnu_inline__)) )(((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32))); |
|
1302 |
return ((unsigned long long __attribute__((__gnu_inline__)) )(((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32))); |
| 1303 |
} |
|
1303 |
} |
| 1304 |
} |
|
1304 |
} |
| 1305 |
__inline extern int __attribute__((__gnu_inline__)) __sigismember(__sigset_t const *__set , |
|
1305 |
__inline extern int __attribute__((__gnu_inline__)) __sigismember(__sigset_t const *__set , |
| 1306 |
int __sig ) ; |
|
1306 |
int __sig ) ; |
| 1307 |
__inline extern int __attribute__((__gnu_inline__)) __sigaddset(__sigset_t *__set , |
|
1307 |
__inline extern int __attribute__((__gnu_inline__)) __sigaddset(__sigset_t *__set , |
| 1308 |
int __sig ) ; |
|
1308 |
int __sig ) ; |
| 1309 |
__inline extern int __attribute__((__gnu_inline__)) __sigdelset(__sigset_t *__set , |
|
1309 |
__inline extern int __attribute__((__gnu_inline__)) __sigdelset(__sigset_t *__set , |
| 1310 |
int __sig ) ; |
|
1310 |
int __sig ) ; |
| 1311 |
__inline extern int __attribute__((__gnu_inline__)) __sigismember(__sigset_t const *__set , |
|
1311 |
__inline extern int __attribute__((__gnu_inline__)) __sigismember(__sigset_t const *__set , |
| 1312 |
int __sig ) |
|
1312 |
int __sig ) |
| 1313 |
{ |
|
1313 |
{ |
| 1314 |
unsigned long __mask ; |
|
1314 |
unsigned long __mask ; |
| 1315 |
unsigned long __word ; |
|
1315 |
unsigned long __word ; |
| 1316 |
int tmp ; |
|
1316 |
int tmp ; |
| 1317 |
|
|
1317 |
|
| 1318 |
{ |
|
1318 |
{ |
| 1319 |
__mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long )); |
|
1319 |
__mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long )); |
| 1320 |
__word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long ))); |
|
1320 |
__word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long ))); |
| 1321 |
if (__set->__val[__word] & __mask) { |
|
1321 |
if (__set->__val[__word] & __mask) { |
| 1322 |
tmp = 1; |
|
1322 |
tmp = 1; |
| 1323 |
} else { |
|
1323 |
} else { |
| 1324 |
tmp = 0; |
|
1324 |
tmp = 0; |
| 1325 |
} |
|
1325 |
} |
| 1326 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
|
1326 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
| 1327 |
} |
|
1327 |
} |
| 1328 |
} |
|
1328 |
} |
| 1329 |
__inline extern int __attribute__((__gnu_inline__)) __sigaddset(__sigset_t *__set , |
|
1329 |
__inline extern int __attribute__((__gnu_inline__)) __sigaddset(__sigset_t *__set , |
| 1330 |
int __sig ) |
|
1330 |
int __sig ) |
| 1331 |
{ |
|
1331 |
{ |
| 1332 |
unsigned long __mask ; |
|
1332 |
unsigned long __mask ; |
| 1333 |
unsigned long __word ; |
|
1333 |
unsigned long __word ; |
| 1334 |
|
|
1334 |
|
| 1335 |
{ |
|
1335 |
{ |
| 1336 |
__mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long )); |
|
1336 |
__mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long )); |
| 1337 |
__word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long ))); |
|
1337 |
__word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long ))); |
| 1338 |
__set->__val[__word] |= __mask; |
|
1338 |
__set->__val[__word] |= __mask; |
| 1339 |
return ((int __attribute__((__gnu_inline__)) )0); |
|
1339 |
return ((int __attribute__((__gnu_inline__)) )0); |
| 1340 |
} |
|
1340 |
} |
| 1341 |
} |
|
1341 |
} |
| 1342 |
__inline extern int __attribute__((__gnu_inline__)) __sigdelset(__sigset_t *__set , |
|
1342 |
__inline extern int __attribute__((__gnu_inline__)) __sigdelset(__sigset_t *__set , |
| 1343 |
int __sig ) |
|
1343 |
int __sig ) |
| 1344 |
{ |
|
1344 |
{ |
| 1345 |
unsigned long __mask ; |
|
1345 |
unsigned long __mask ; |
| 1346 |
unsigned long __word ; |
|
1346 |
unsigned long __word ; |
| 1347 |
|
|
1347 |
|
| 1348 |
{ |
|
1348 |
{ |
| 1349 |
__mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long )); |
|
1349 |
__mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long )); |
| 1350 |
__word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long ))); |
|
1350 |
__word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long ))); |
| 1351 |
__set->__val[__word] &= ~ __mask; |
|
1351 |
__set->__val[__word] &= ~ __mask; |
| 1352 |
return ((int __attribute__((__gnu_inline__)) )0); |
|
1352 |
return ((int __attribute__((__gnu_inline__)) )0); |
| 1353 |
} |
|
1353 |
} |
| 1354 |
} |
|
1354 |
} |
| 1355 |
extern __attribute__((__nothrow__)) __sighandler_t __sysv_signal(int __sig , |
|
1355 |
extern __attribute__((__nothrow__)) __sighandler_t __sysv_signal(int __sig , |
| 1356 |
void (*__handler)(int ) ) ; |
|
1356 |
void (*__handler)(int ) ) ; |
| 1357 |
extern __attribute__((__nothrow__)) __sighandler_t sysv_signal(int __sig , |
|
1357 |
extern __attribute__((__nothrow__)) __sighandler_t sysv_signal(int __sig , |
| 1358 |
void (*__handler)(int ) ) ; |
|
1358 |
void (*__handler)(int ) ) ; |
| 1359 |
extern __attribute__((__nothrow__)) __sighandler_t signal(int __sig , |
|
1359 |
extern __attribute__((__nothrow__)) __sighandler_t signal(int __sig , |
| 1360 |
void (*__handler)(int ) ) ; |
|
1360 |
void (*__handler)(int ) ) ; |
| 1361 |
extern __attribute__((__nothrow__)) __sighandler_t bsd_signal(int __sig , |
|
1361 |
extern __attribute__((__nothrow__)) __sighandler_t bsd_signal(int __sig , |
| 1362 |
void (*__handler)(int ) ) ; |
|
1362 |
void (*__handler)(int ) ) ; |
| 1363 |
extern __attribute__((__nothrow__)) int kill(__pid_t __pid , int __sig ) ; |
|
1363 |
extern __attribute__((__nothrow__)) int kill(__pid_t __pid , int __sig ) ; |
| 1364 |
extern __attribute__((__nothrow__)) int killpg(__pid_t __pgrp , int __sig ) ; |
|
1364 |
extern __attribute__((__nothrow__)) int killpg(__pid_t __pgrp , int __sig ) ; |
| 1365 |
extern __attribute__((__nothrow__)) int raise(int __sig ) ; |
|
1365 |
extern __attribute__((__nothrow__)) int raise(int __sig ) ; |
| 1366 |
extern __attribute__((__nothrow__)) __sighandler_t ssignal(int __sig , |
|
1366 |
extern __attribute__((__nothrow__)) __sighandler_t ssignal(int __sig , |
| 1367 |
void (*__handler)(int ) ) ; |
|
1367 |
void (*__handler)(int ) ) ; |
| 1368 |
extern __attribute__((__nothrow__)) int gsignal(int __sig ) ; |
|
1368 |
extern __attribute__((__nothrow__)) int gsignal(int __sig ) ; |
| 1369 |
extern void psignal(int __sig , char const *__s ) ; |
|
1369 |
extern void psignal(int __sig , char const *__s ) ; |
| 1370 |
extern void psiginfo(siginfo_t const *__pinfo , char const *__s ) ; |
|
1370 |
extern void psiginfo(siginfo_t const *__pinfo , char const *__s ) ; |
| 1371 |
extern int __sigpause(int __sig_or_mask , int __is_sig ) ; |
|
1371 |
extern int __sigpause(int __sig_or_mask , int __is_sig ) ; |
| 1372 |
extern int sigpause(int __sig ) __asm__("__xpg_sigpause") ; |
|
1372 |
extern int sigpause(int __sig ) __asm__("__xpg_sigpause") ; |
| 1373 |
extern __attribute__((__nothrow__)) int sigblock(int __mask ) __attribute__((__deprecated__)) ; |
|
1373 |
extern __attribute__((__nothrow__)) int sigblock(int __mask ) __attribute__((__deprecated__)) ; |
| 1374 |
extern __attribute__((__nothrow__)) int sigsetmask(int __mask ) __attribute__((__deprecated__)) ; |
|
1374 |
extern __attribute__((__nothrow__)) int sigsetmask(int __mask ) __attribute__((__deprecated__)) ; |
| 1375 |
extern __attribute__((__nothrow__)) int siggetmask(void) __attribute__((__deprecated__)) ; |
|
1375 |
extern __attribute__((__nothrow__)) int siggetmask(void) __attribute__((__deprecated__)) ; |
| 1376 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigemptyset)(sigset_t *__set ) ; |
|
1376 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigemptyset)(sigset_t *__set ) ; |
| 1377 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigfillset)(sigset_t *__set ) ; |
|
1377 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigfillset)(sigset_t *__set ) ; |
| 1378 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigaddset)(sigset_t *__set , |
|
1378 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigaddset)(sigset_t *__set , |
| 1379 |
int __signo ) ; |
|
1379 |
int __signo ) ; |
| 1380 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigdelset)(sigset_t *__set , |
|
1380 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigdelset)(sigset_t *__set , |
| 1381 |
int __signo ) ; |
|
1381 |
int __signo ) ; |
| 1382 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigismember)(sigset_t const *__set , |
|
1382 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigismember)(sigset_t const *__set , |
| 1383 |
int __signo ) ; |
|
1383 |
int __signo ) ; |
| 1384 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigisemptyset)(sigset_t const *__set ) ; |
|
1384 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigisemptyset)(sigset_t const *__set ) ; |
| 1385 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) sigandset)(sigset_t *__set , |
|
1385 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) sigandset)(sigset_t *__set , |
| 1386 |
sigset_t const *__left , |
|
1386 |
sigset_t const *__left , |
| 1387 |
sigset_t const *__right ) ; |
|
1387 |
sigset_t const *__right ) ; |
| 1388 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) sigorset)(sigset_t *__set , |
|
1388 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) sigorset)(sigset_t *__set , |
| 1389 |
sigset_t const *__left , |
|
1389 |
sigset_t const *__left , |
| 1390 |
sigset_t const *__right ) ; |
|
1390 |
sigset_t const *__right ) ; |
| 1391 |
extern __attribute__((__nothrow__)) int sigprocmask(int __how , |
|
1391 |
extern __attribute__((__nothrow__)) int sigprocmask(int __how , |
| 1392 |
sigset_t const * __restrict __set , |
|
1392 |
sigset_t const * __restrict __set , |
| 1393 |
sigset_t * __restrict __oset ) ; |
|
1393 |
sigset_t * __restrict __oset ) ; |
| 1394 |
extern int ( __attribute__((__nonnull__(1))) sigsuspend)(sigset_t const *__set ) ; |
|
1394 |
extern int ( __attribute__((__nonnull__(1))) sigsuspend)(sigset_t const *__set ) ; |
| 1395 |
extern __attribute__((__nothrow__)) int sigaction(int __sig , |
|
1395 |
extern __attribute__((__nothrow__)) int sigaction(int __sig , |
| 1396 |
struct sigaction const * __restrict __act , |
|
1396 |
struct sigaction const * __restrict __act , |
| 1397 |
struct sigaction * __restrict __oact ) ; |
|
1397 |
struct sigaction * __restrict __oact ) ; |
| 1398 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigpending)(sigset_t *__set ) ; |
|
1398 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigpending)(sigset_t *__set ) ; |
| 1399 |
extern int ( __attribute__((__nonnull__(1,2))) sigwait)(sigset_t const * __restrict __set , |
|
1399 |
extern int ( __attribute__((__nonnull__(1,2))) sigwait)(sigset_t const * __restrict __set , |
| 1400 |
int * __restrict __sig ) ; |
|
1400 |
int * __restrict __sig ) ; |
| 1401 |
extern int ( __attribute__((__nonnull__(1))) sigwaitinfo)(sigset_t const * __restrict __set , |
|
1401 |
extern int ( __attribute__((__nonnull__(1))) sigwaitinfo)(sigset_t const * __restrict __set , |
| 1402 |
siginfo_t * __restrict __info ) ; |
|
1402 |
siginfo_t * __restrict __info ) ; |
| 1403 |
extern int ( __attribute__((__nonnull__(1))) sigtimedwait)(sigset_t const * __restrict __set , |
|
1403 |
extern int ( __attribute__((__nonnull__(1))) sigtimedwait)(sigset_t const * __restrict __set , |
| 1404 |
siginfo_t * __restrict __info , |
|
1404 |
siginfo_t * __restrict __info , |
| 1405 |
struct timespec const * __restrict __timeout ) ; |
|
1405 |
struct timespec const * __restrict __timeout ) ; |
| 1406 |
extern __attribute__((__nothrow__)) int sigqueue(__pid_t __pid , int __sig , |
|
1406 |
extern __attribute__((__nothrow__)) int sigqueue(__pid_t __pid , int __sig , |
| 1407 |
union sigval const __val ) ; |
|
1407 |
union sigval const __val ) ; |
| 1408 |
extern char const * const _sys_siglist[65] ; |
|
1408 |
extern char const * const _sys_siglist[65] ; |
| 1409 |
extern char const * const sys_siglist[65] ; |
|
1409 |
extern char const * const sys_siglist[65] ; |
| 1410 |
extern __attribute__((__nothrow__)) int sigvec(int __sig , |
|
1410 |
extern __attribute__((__nothrow__)) int sigvec(int __sig , |
| 1411 |
struct sigvec const *__vec , |
|
1411 |
struct sigvec const *__vec , |
| 1412 |
struct sigvec *__ovec ) ; |
|
1412 |
struct sigvec *__ovec ) ; |
| 1413 |
extern __attribute__((__nothrow__)) int sigreturn(struct sigcontext *__scp ) ; |
|
1413 |
extern __attribute__((__nothrow__)) int sigreturn(struct sigcontext *__scp ) ; |
| 1414 |
extern __attribute__((__nothrow__)) int siginterrupt(int __sig , |
|
1414 |
extern __attribute__((__nothrow__)) int siginterrupt(int __sig , |
| 1415 |
int __interrupt ) ; |
|
1415 |
int __interrupt ) ; |
| 1416 |
extern __attribute__((__nothrow__)) int sigstack(struct sigstack *__ss , |
|
1416 |
extern __attribute__((__nothrow__)) int sigstack(struct sigstack *__ss , |
| 1417 |
struct sigstack *__oss ) __attribute__((__deprecated__)) ; |
|
1417 |
struct sigstack *__oss ) __attribute__((__deprecated__)) ; |
| 1418 |
extern __attribute__((__nothrow__)) int sigaltstack(struct sigaltstack const * __restrict __ss , |
|
1418 |
extern __attribute__((__nothrow__)) int sigaltstack(struct sigaltstack const * __restrict __ss , |
| 1419 |
struct sigaltstack * __restrict __oss ) ; |
|
1419 |
struct sigaltstack * __restrict __oss ) ; |
| 1420 |
extern __attribute__((__nothrow__)) int sighold(int __sig ) ; |
|
1420 |
extern __attribute__((__nothrow__)) int sighold(int __sig ) ; |
| 1421 |
extern __attribute__((__nothrow__)) int sigrelse(int __sig ) ; |
|
1421 |
extern __attribute__((__nothrow__)) int sigrelse(int __sig ) ; |
| 1422 |
extern __attribute__((__nothrow__)) int sigignore(int __sig ) ; |
|
1422 |
extern __attribute__((__nothrow__)) int sigignore(int __sig ) ; |
| 1423 |
extern __attribute__((__nothrow__)) __sighandler_t sigset(int __sig , |
|
1423 |
extern __attribute__((__nothrow__)) __sighandler_t sigset(int __sig , |
| 1424 |
void (*__disp)(int ) ) ; |
|
1424 |
void (*__disp)(int ) ) ; |
| 1425 |
extern __attribute__((__nothrow__)) int pthread_sigmask(int __how , |
|
1425 |
extern __attribute__((__nothrow__)) int pthread_sigmask(int __how , |
| 1426 |
__sigset_t const * __restrict __newmask , |
|
1426 |
__sigset_t const * __restrict __newmask , |
| 1427 |
__sigset_t * __restrict __oldmask ) ; |
|
1427 |
__sigset_t * __restrict __oldmask ) ; |
| 1428 |
extern __attribute__((__nothrow__)) int pthread_kill(pthread_t __threadid , |
|
1428 |
extern __attribute__((__nothrow__)) int pthread_kill(pthread_t __threadid , |
| 1429 |
int __signo ) ; |
|
1429 |
int __signo ) ; |
| 1430 |
extern __attribute__((__nothrow__)) int pthread_sigqueue(pthread_t __threadid , |
|
1430 |
extern __attribute__((__nothrow__)) int pthread_sigqueue(pthread_t __threadid , |
| 1431 |
int __signo , |
|
1431 |
int __signo , |
| 1432 |
union sigval const __value ) ; |
|
1432 |
union sigval const __value ) ; |
| 1433 |
extern __attribute__((__nothrow__)) int __libc_current_sigrtmin(void) ; |
|
1433 |
extern __attribute__((__nothrow__)) int __libc_current_sigrtmin(void) ; |
| 1434 |
extern __attribute__((__nothrow__)) int __libc_current_sigrtmax(void) ; |
|
1434 |
extern __attribute__((__nothrow__)) int __libc_current_sigrtmax(void) ; |
| 1435 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) stat)(char const * __restrict __path , |
|
1435 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) stat)(char const * __restrict __path , |
| 1436 |
struct stat * __restrict __statbuf ) __asm__("stat64") ; |
|
1436 |
struct stat * __restrict __statbuf ) __asm__("stat64") ; |
| 1437 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) fstat)(int __fd , |
|
1437 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) fstat)(int __fd , |
| 1438 |
struct stat *__statbuf ) __asm__("fstat64") ; |
|
1438 |
struct stat *__statbuf ) __asm__("fstat64") ; |
| 1439 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) stat64)(char const * __restrict __path , |
|
1439 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) stat64)(char const * __restrict __path , |
| 1440 |
struct stat64 * __restrict __statbuf ) ; |
|
1440 |
struct stat64 * __restrict __statbuf ) ; |
| 1441 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) fstat64)(int __fd , |
|
1441 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) fstat64)(int __fd , |
| 1442 |
struct stat64 *__statbuf ) ; |
|
1442 |
struct stat64 *__statbuf ) ; |
| 1443 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd , |
|
1443 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd , |
| 1444 |
char const * __restrict __filename , |
|
1444 |
char const * __restrict __filename , |
| 1445 |
struct stat * __restrict __statbuf , |
|
1445 |
struct stat * __restrict __statbuf , |
| 1446 |
int __flag ) __asm__("fstatat64") ; |
|
1446 |
int __flag ) __asm__("fstatat64") ; |
| 1447 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2,3))) fstatat64)(int __fd , |
|
1447 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2,3))) fstatat64)(int __fd , |
| 1448 |
char const * __restrict __filename , |
|
1448 |
char const * __restrict __filename , |
| 1449 |
struct stat64 * __restrict __statbuf , |
|
1449 |
struct stat64 * __restrict __statbuf , |
| 1450 |
int __flag ) ; |
|
1450 |
int __flag ) ; |
| 1451 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) lstat)(char const * __restrict __path , |
|
1451 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) lstat)(char const * __restrict __path , |
| 1452 |
struct stat * __restrict __statbuf ) __asm__("lstat64") ; |
|
1452 |
struct stat * __restrict __statbuf ) __asm__("lstat64") ; |
| 1453 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) lstat64)(char const * __restrict __path , |
|
1453 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) lstat64)(char const * __restrict __path , |
| 1454 |
struct stat64 * __restrict __statbuf ) ; |
|
1454 |
struct stat64 * __restrict __statbuf ) ; |
| 1455 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chmod)(char const *__file , |
|
1455 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chmod)(char const *__file , |
| 1456 |
__mode_t __mode ) ; |
|
1456 |
__mode_t __mode ) ; |
| 1457 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchmod)(char const *__file , |
|
1457 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchmod)(char const *__file , |
| 1458 |
__mode_t __mode ) ; |
|
1458 |
__mode_t __mode ) ; |
| 1459 |
extern __attribute__((__nothrow__)) int fchmod(int __fd , __mode_t __mode ) ; |
|
1459 |
extern __attribute__((__nothrow__)) int fchmod(int __fd , __mode_t __mode ) ; |
| 1460 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchmodat)(int __fd , |
|
1460 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchmodat)(int __fd , |
| 1461 |
char const *__file , |
|
1461 |
char const *__file , |
| 1462 |
__mode_t __mode , |
|
1462 |
__mode_t __mode , |
| 1463 |
int __flag ) ; |
|
1463 |
int __flag ) ; |
| 1464 |
extern __attribute__((__nothrow__)) __mode_t umask(__mode_t __mask ) ; |
|
1464 |
extern __attribute__((__nothrow__)) __mode_t umask(__mode_t __mask ) ; |
| 1465 |
extern __attribute__((__nothrow__)) __mode_t getumask(void) ; |
|
1465 |
extern __attribute__((__nothrow__)) __mode_t getumask(void) ; |
| 1466 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkdir)(char const *__path , |
|
1466 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkdir)(char const *__path , |
| 1467 |
__mode_t __mode ) ; |
|
1467 |
__mode_t __mode ) ; |
| 1468 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkdirat)(int __fd , |
|
1468 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkdirat)(int __fd , |
| 1469 |
char const *__path , |
|
1469 |
char const *__path , |
| 1470 |
__mode_t __mode ) ; |
|
1470 |
__mode_t __mode ) ; |
| 1471 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) mknod)(char const *__path , |
|
1471 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) mknod)(char const *__path , |
| 1472 |
__mode_t __mode , |
|
1472 |
__mode_t __mode , |
| 1473 |
__dev_t __dev ) ; |
|
1473 |
__dev_t __dev ) ; |
| 1474 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) mknodat)(int __fd , |
|
1474 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) mknodat)(int __fd , |
| 1475 |
char const *__path , |
|
1475 |
char const *__path , |
| 1476 |
__mode_t __mode , |
|
1476 |
__mode_t __mode , |
| 1477 |
__dev_t __dev ) ; |
|
1477 |
__dev_t __dev ) ; |
| 1478 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkfifo)(char const *__path , |
|
1478 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkfifo)(char const *__path , |
| 1479 |
__mode_t __mode ) ; |
|
1479 |
__mode_t __mode ) ; |
| 1480 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkfifoat)(int __fd , |
|
1480 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkfifoat)(int __fd , |
| 1481 |
char const *__path , |
|
1481 |
char const *__path , |
| 1482 |
__mode_t __mode ) ; |
|
1482 |
__mode_t __mode ) ; |
| 1483 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) utimensat)(int __fd , |
|
1483 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) utimensat)(int __fd , |
| 1484 |
char const *__path , |
|
1484 |
char const *__path , |
| 1485 |
struct timespec const *__times , |
|
1485 |
struct timespec const *__times , |
| 1486 |
int __flags ) ; |
|
1486 |
int __flags ) ; |
| 1487 |
extern __attribute__((__nothrow__)) int futimens(int __fd , |
|
1487 |
extern __attribute__((__nothrow__)) int futimens(int __fd , |
| 1488 |
struct timespec const *__times ) ; |
|
1488 |
struct timespec const *__times ) ; |
| 1489 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3))) __fxstat)(int __ver , |
|
1489 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3))) __fxstat)(int __ver , |
| 1490 |
int __fildes , |
|
1490 |
int __fildes , |
| 1491 |
struct stat *__stat_buf ) __asm__("__fxstat64") ; |
|
1491 |
struct stat *__stat_buf ) __asm__("__fxstat64") ; |
| 1492 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __xstat)(int __ver , |
|
1492 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __xstat)(int __ver , |
| 1493 |
char const *__filename , |
|
1493 |
char const *__filename , |
| 1494 |
struct stat *__stat_buf ) __asm__("__xstat64") ; |
|
1494 |
struct stat *__stat_buf ) __asm__("__xstat64") ; |
| 1495 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __lxstat)(int __ver , |
|
1495 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __lxstat)(int __ver , |
| 1496 |
char const *__filename , |
|
1496 |
char const *__filename , |
| 1497 |
struct stat *__stat_buf ) __asm__("__lxstat64") ; |
|
1497 |
struct stat *__stat_buf ) __asm__("__lxstat64") ; |
| 1498 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4))) __fxstatat)(int __ver , |
|
1498 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4))) __fxstatat)(int __ver , |
| 1499 |
int __fildes , |
|
1499 |
int __fildes , |
| 1500 |
char const *__filename , |
|
1500 |
char const *__filename , |
| 1501 |
struct stat *__stat_buf , |
|
1501 |
struct stat *__stat_buf , |
| 1502 |
int __flag ) __asm__("__fxstatat64") ; |
|
1502 |
int __flag ) __asm__("__fxstatat64") ; |
| 1503 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3))) __fxstat64)(int __ver , |
|
1503 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3))) __fxstat64)(int __ver , |
| 1504 |
int __fildes , |
|
1504 |
int __fildes , |
| 1505 |
struct stat64 *__stat_buf ) ; |
|
1505 |
struct stat64 *__stat_buf ) ; |
| 1506 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __xstat64)(int __ver , |
|
1506 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __xstat64)(int __ver , |
| 1507 |
char const *__filename , |
|
1507 |
char const *__filename , |
| 1508 |
struct stat64 *__stat_buf ) ; |
|
1508 |
struct stat64 *__stat_buf ) ; |
| 1509 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __lxstat64)(int __ver , |
|
1509 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __lxstat64)(int __ver , |
| 1510 |
char const *__filename , |
|
1510 |
char const *__filename , |
| 1511 |
struct stat64 *__stat_buf ) ; |
|
1511 |
struct stat64 *__stat_buf ) ; |
| 1512 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4))) __fxstatat64)(int __ver , |
|
1512 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4))) __fxstatat64)(int __ver , |
| 1513 |
int __fildes , |
|
1513 |
int __fildes , |
| 1514 |
char const *__filename , |
|
1514 |
char const *__filename , |
| 1515 |
struct stat64 *__stat_buf , |
|
1515 |
struct stat64 *__stat_buf , |
| 1516 |
int __flag ) ; |
|
1516 |
int __flag ) ; |
| 1517 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) __xmknod)(int __ver , |
|
1517 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) __xmknod)(int __ver , |
| 1518 |
char const *__path , |
|
1518 |
char const *__path , |
| 1519 |
__mode_t __mode , |
|
1519 |
__mode_t __mode , |
| 1520 |
__dev_t *__dev ) ; |
|
1520 |
__dev_t *__dev ) ; |
| 1521 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,5))) __xmknodat)(int __ver , |
|
1521 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,5))) __xmknodat)(int __ver , |
| 1522 |
int __fd , |
|
1522 |
int __fd , |
| 1523 |
char const *__path , |
|
1523 |
char const *__path , |
| 1524 |
__mode_t __mode , |
|
1524 |
__mode_t __mode , |
| 1525 |
__dev_t *__dev ) ; |
|
1525 |
__dev_t *__dev ) ; |
| 1526 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) stat)(char const * __restrict __path , |
|
1526 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) stat)(char const * __restrict __path , |
| 1527 |
struct stat * __restrict __statbuf ) __asm__("stat64") ; |
|
1527 |
struct stat * __restrict __statbuf ) __asm__("stat64") ; |
| 1528 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) stat)(char const * __restrict __path , |
|
1528 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) stat)(char const * __restrict __path , |
| 1529 |
struct stat * __restrict __statbuf ) |
|
1529 |
struct stat * __restrict __statbuf ) |
| 1530 |
{ |
|
1530 |
{ |
| 1531 |
int tmp ; |
|
1531 |
int tmp ; |
| 1532 |
|
|
1532 |
|
| 1533 |
{ |
|
1533 |
{ |
| 1534 |
tmp = __xstat(3, (char const *)__path, (struct stat *)__statbuf); |
|
1534 |
tmp = __xstat(3, (char const *)__path, (struct stat *)__statbuf); |
| 1535 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
|
1535 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
| 1536 |
} |
|
1536 |
} |
| 1537 |
} |
|
1537 |
} |
| 1538 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) lstat)(char const * __restrict __path , |
|
1538 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) lstat)(char const * __restrict __path , |
| 1539 |
struct stat * __restrict __statbuf ) __asm__("lstat64") ; |
|
1539 |
struct stat * __restrict __statbuf ) __asm__("lstat64") ; |
| 1540 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) lstat)(char const * __restrict __path , |
|
1540 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) lstat)(char const * __restrict __path , |
| 1541 |
struct stat * __restrict __statbuf ) |
|
1541 |
struct stat * __restrict __statbuf ) |
| 1542 |
{ |
|
1542 |
{ |
| 1543 |
int tmp ; |
|
1543 |
int tmp ; |
| 1544 |
|
|
1544 |
|
| 1545 |
{ |
|
1545 |
{ |
| 1546 |
tmp = __lxstat(3, (char const *)__path, (struct stat *)__statbuf); |
|
1546 |
tmp = __lxstat(3, (char const *)__path, (struct stat *)__statbuf); |
| 1547 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
|
1547 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
| 1548 |
} |
|
1548 |
} |
| 1549 |
} |
|
1549 |
} |
| 1550 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) fstat)(int __fd , |
|
1550 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) fstat)(int __fd , |
| 1551 |
struct stat *__statbuf ) __asm__("fstat64") ; |
|
1551 |
struct stat *__statbuf ) __asm__("fstat64") ; |
| 1552 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) fstat)(int __fd , |
|
1552 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) fstat)(int __fd , |
| 1553 |
struct stat *__statbuf ) |
|
1553 |
struct stat *__statbuf ) |
| 1554 |
{ |
|
1554 |
{ |
| 1555 |
int tmp ; |
|
1555 |
int tmp ; |
| 1556 |
|
|
1556 |
|
| 1557 |
{ |
|
1557 |
{ |
| 1558 |
tmp = __fxstat(3, __fd, __statbuf); |
|
1558 |
tmp = __fxstat(3, __fd, __statbuf); |
| 1559 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
|
1559 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
| 1560 |
} |
|
1560 |
} |
| 1561 |
} |
|
1561 |
} |
| 1562 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd , |
|
1562 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd , |
| 1563 |
char const * __restrict __filename , |
|
1563 |
char const * __restrict __filename , |
| 1564 |
struct stat * __restrict __statbuf , |
|
1564 |
struct stat * __restrict __statbuf , |
| 1565 |
int __flag ) __asm__("fstatat64") ; |
|
1565 |
int __flag ) __asm__("fstatat64") ; |
| 1566 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd , |
|
1566 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd , |
| 1567 |
char const * __restrict __filename , |
|
1567 |
char const * __restrict __filename , |
| 1568 |
struct stat * __restrict __statbuf , |
|
1568 |
struct stat * __restrict __statbuf , |
| 1569 |
int __flag ) |
|
1569 |
int __flag ) |
| 1570 |
{ |
|
1570 |
{ |
| 1571 |
int tmp ; |
|
1571 |
int tmp ; |
| 1572 |
|
|
1572 |
|
| 1573 |
{ |
|
1573 |
{ |
| 1574 |
tmp = __fxstatat(3, __fd, (char const *)__filename, |
|
1574 |
tmp = __fxstatat(3, __fd, (char const *)__filename, |
| 1575 |
(struct stat *)__statbuf, __flag); |
|
1575 |
(struct stat *)__statbuf, __flag); |
| 1576 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
|
1576 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
| 1577 |
} |
|
1577 |
} |
| 1578 |
} |
|
1578 |
} |
| 1579 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) mknod)(char const *__path , |
|
1579 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) mknod)(char const *__path , |
| 1580 |
__mode_t __mode , |
|
1580 |
__mode_t __mode , |
| 1581 |
__dev_t __dev ) ; |
|
1581 |
__dev_t __dev ) ; |
| 1582 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) mknod)(char const *__path , |
|
1582 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) mknod)(char const *__path , |
| 1583 |
__mode_t __mode , |
|
1583 |
__mode_t __mode , |
| 1584 |
__dev_t __dev ) |
|
1584 |
__dev_t __dev ) |
| 1585 |
{ |
|
1585 |
{ |
| 1586 |
int tmp ; |
|
1586 |
int tmp ; |
| 1587 |
|
|
1587 |
|
| 1588 |
{ |
|
1588 |
{ |
| 1589 |
tmp = __xmknod(1, __path, __mode, & __dev); |
|
1589 |
tmp = __xmknod(1, __path, __mode, & __dev); |
| 1590 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
|
1590 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
| 1591 |
} |
|
1591 |
} |
| 1592 |
} |
|
1592 |
} |
| 1593 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) mknodat)(int __fd , |
|
1593 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) mknodat)(int __fd , |
| 1594 |
char const *__path , |
|
1594 |
char const *__path , |
| 1595 |
__mode_t __mode , |
|
1595 |
__mode_t __mode , |
| 1596 |
__dev_t __dev ) ; |
|
1596 |
__dev_t __dev ) ; |
| 1597 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) mknodat)(int __fd , |
|
1597 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) mknodat)(int __fd , |
| 1598 |
char const *__path , |
|
1598 |
char const *__path , |
| 1599 |
__mode_t __mode , |
|
1599 |
__mode_t __mode , |
| 1600 |
__dev_t __dev ) |
|
1600 |
__dev_t __dev ) |
| 1601 |
{ |
|
1601 |
{ |
| 1602 |
int tmp ; |
|
1602 |
int tmp ; |
| 1603 |
|
|
1603 |
|
| 1604 |
{ |
|
1604 |
{ |
| 1605 |
tmp = __xmknodat(1, __fd, __path, __mode, & __dev); |
|
1605 |
tmp = __xmknodat(1, __fd, __path, __mode, & __dev); |
| 1606 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
|
1606 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
| 1607 |
} |
|
1607 |
} |
| 1608 |
} |
|
1608 |
} |
| 1609 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) stat64)(char const * __restrict __path , |
|
1609 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) stat64)(char const * __restrict __path , |
| 1610 |
struct stat64 * __restrict __statbuf ) ; |
|
1610 |
struct stat64 * __restrict __statbuf ) ; |
| 1611 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) stat64)(char const * __restrict __path , |
|
1611 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) stat64)(char const * __restrict __path , |
| 1612 |
struct stat64 * __restrict __statbuf ) |
|
1612 |
struct stat64 * __restrict __statbuf ) |
| 1613 |
{ |
|
1613 |
{ |
| 1614 |
int tmp ; |
|
1614 |
int tmp ; |
| 1615 |
|
|
1615 |
|
| 1616 |
{ |
|
1616 |
{ |
| 1617 |
tmp = __xstat64(3, (char const *)__path, (struct stat64 *)__statbuf); |
|
1617 |
tmp = __xstat64(3, (char const *)__path, (struct stat64 *)__statbuf); |
| 1618 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
|
1618 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
| 1619 |
} |
|
1619 |
} |
| 1620 |
} |
|
1620 |
} |
| 1621 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) lstat64)(char const * __restrict __path , |
|
1621 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) lstat64)(char const * __restrict __path , |
| 1622 |
struct stat64 * __restrict __statbuf ) ; |
|
1622 |
struct stat64 * __restrict __statbuf ) ; |
| 1623 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) lstat64)(char const * __restrict __path , |
|
1623 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1,2))) lstat64)(char const * __restrict __path , |
| 1624 |
struct stat64 * __restrict __statbuf ) |
|
1624 |
struct stat64 * __restrict __statbuf ) |
| 1625 |
{ |
|
1625 |
{ |
| 1626 |
int tmp ; |
|
1626 |
int tmp ; |
| 1627 |
|
|
1627 |
|
| 1628 |
{ |
|
1628 |
{ |
| 1629 |
tmp = __lxstat64(3, (char const *)__path, (struct stat64 *)__statbuf); |
|
1629 |
tmp = __lxstat64(3, (char const *)__path, (struct stat64 *)__statbuf); |
| 1630 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
|
1630 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
| 1631 |
} |
|
1631 |
} |
| 1632 |
} |
|
1632 |
} |
| 1633 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) fstat64)(int __fd , |
|
1633 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) fstat64)(int __fd , |
| 1634 |
struct stat64 *__statbuf ) ; |
|
1634 |
struct stat64 *__statbuf ) ; |
| 1635 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) fstat64)(int __fd , |
|
1635 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2))) fstat64)(int __fd , |
| 1636 |
struct stat64 *__statbuf ) |
|
1636 |
struct stat64 *__statbuf ) |
| 1637 |
{ |
|
1637 |
{ |
| 1638 |
int tmp ; |
|
1638 |
int tmp ; |
| 1639 |
|
|
1639 |
|
| 1640 |
{ |
|
1640 |
{ |
| 1641 |
tmp = __fxstat64(3, __fd, __statbuf); |
|
1641 |
tmp = __fxstat64(3, __fd, __statbuf); |
| 1642 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
|
1642 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
| 1643 |
} |
|
1643 |
} |
| 1644 |
} |
|
1644 |
} |
| 1645 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2,3))) fstatat64)(int __fd , |
|
1645 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2,3))) fstatat64)(int __fd , |
| 1646 |
char const * __restrict __filename , |
|
1646 |
char const * __restrict __filename , |
| 1647 |
struct stat64 * __restrict __statbuf , |
|
1647 |
struct stat64 * __restrict __statbuf , |
| 1648 |
int __flag ) ; |
|
1648 |
int __flag ) ; |
| 1649 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2,3))) fstatat64)(int __fd , |
|
1649 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(2,3))) fstatat64)(int __fd , |
| 1650 |
char const * __restrict __filename , |
|
1650 |
char const * __restrict __filename , |
| 1651 |
struct stat64 * __restrict __statbuf , |
|
1651 |
struct stat64 * __restrict __statbuf , |
| 1652 |
int __flag ) |
|
1652 |
int __flag ) |
| 1653 |
{ |
|
1653 |
{ |
| 1654 |
int tmp ; |
|
1654 |
int tmp ; |
| 1655 |
|
|
1655 |
|
| 1656 |
{ |
|
1656 |
{ |
| 1657 |
tmp = __fxstatat64(3, __fd, (char const *)__filename, |
|
1657 |
tmp = __fxstatat64(3, __fd, (char const *)__filename, |
| 1658 |
(struct stat64 *)__statbuf, __flag); |
|
1658 |
(struct stat64 *)__statbuf, __flag); |
| 1659 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
|
1659 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
| 1660 |
} |
|
1660 |
} |
| 1661 |
} |
|
1661 |
} |
| 1662 |
extern __attribute__((__nothrow__)) int *__errno_location(void) __attribute__((__const__)) ; |
|
1662 |
extern __attribute__((__nothrow__)) int *__errno_location(void) __attribute__((__const__)) ; |
| 1663 |
extern char *program_invocation_name ; |
|
1663 |
extern char *program_invocation_name ; |
| 1664 |
extern char *program_invocation_short_name ; |
|
1664 |
extern char *program_invocation_short_name ; |
| 1665 |
extern void close_stdin_set_file_name(char const *file ) ; |
|
1665 |
extern void close_stdin_set_file_name(char const *file ) ; |
| 1666 |
extern void close_stdin(void) ; |
|
1666 |
extern void close_stdin(void) ; |
| 1667 |
extern struct _IO_FILE_plus _IO_2_1_stdin_ ; |
|
1667 |
extern struct _IO_FILE_plus _IO_2_1_stdin_ ; |
| 1668 |
extern struct _IO_FILE_plus _IO_2_1_stdout_ ; |
|
1668 |
extern struct _IO_FILE_plus _IO_2_1_stdout_ ; |
| 1669 |
extern struct _IO_FILE_plus _IO_2_1_stderr_ ; |
|
1669 |
extern struct _IO_FILE_plus _IO_2_1_stderr_ ; |
| 1670 |
extern void _IO_cookie_init(struct _IO_cookie_file *__cfile , int __read_write , |
|
1670 |
extern void _IO_cookie_init(struct _IO_cookie_file *__cfile , int __read_write , |
| 1671 |
void *__cookie , _IO_cookie_io_functions_t __fns ) ; |
|
1671 |
void *__cookie , _IO_cookie_io_functions_t __fns ) ; |
| 1672 |
extern int __underflow(_IO_FILE * ) ; |
|
1672 |
extern int __underflow(_IO_FILE * ) ; |
| 1673 |
extern int __uflow(_IO_FILE * ) ; |
|
1673 |
extern int __uflow(_IO_FILE * ) ; |
| 1674 |
extern int __overflow(_IO_FILE * , int ) ; |
|
1674 |
extern int __overflow(_IO_FILE * , int ) ; |
| 1675 |
extern int _IO_getc(_IO_FILE *__fp ) ; |
|
1675 |
extern int _IO_getc(_IO_FILE *__fp ) ; |
| 1676 |
extern int _IO_putc(int __c , _IO_FILE *__fp ) ; |
|
1676 |
extern int _IO_putc(int __c , _IO_FILE *__fp ) ; |
| 1677 |
extern __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ; |
|
1677 |
extern __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ; |
| 1678 |
extern __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ; |
|
1678 |
extern __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ; |
| 1679 |
extern int _IO_peekc_locked(_IO_FILE *__fp ) ; |
|
1679 |
extern int _IO_peekc_locked(_IO_FILE *__fp ) ; |
| 1680 |
extern __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ; |
|
1680 |
extern __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ; |
| 1681 |
extern __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ; |
|
1681 |
extern __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ; |
| 1682 |
extern __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ; |
|
1682 |
extern __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ; |
| 1683 |
extern int _IO_vfscanf(_IO_FILE * __restrict , char const * __restrict , |
|
1683 |
extern int _IO_vfscanf(_IO_FILE * __restrict , char const * __restrict , |
| 1684 |
__gnuc_va_list , int * __restrict ) ; |
|
1684 |
__gnuc_va_list , int * __restrict ) ; |
| 1685 |
extern int _IO_vfprintf(_IO_FILE * __restrict , char const * __restrict , |
|
1685 |
extern int _IO_vfprintf(_IO_FILE * __restrict , char const * __restrict , |
| 1686 |
__gnuc_va_list ) ; |
|
1686 |
__gnuc_va_list ) ; |
| 1687 |
extern __ssize_t _IO_padn(_IO_FILE * , int , __ssize_t ) ; |
|
1687 |
extern __ssize_t _IO_padn(_IO_FILE * , int , __ssize_t ) ; |
| 1688 |
extern size_t _IO_sgetn(_IO_FILE * , void * , size_t ) ; |
|
1688 |
extern size_t _IO_sgetn(_IO_FILE * , void * , size_t ) ; |
| 1689 |
extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t , int , int ) ; |
|
1689 |
extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t , int , int ) ; |
| 1690 |
extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t , int ) ; |
|
1690 |
extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t , int ) ; |
| 1691 |
extern __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ; |
|
1691 |
extern __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ; |
| 1692 |
extern struct _IO_FILE *stdin ; |
|
1692 |
extern struct _IO_FILE *stdin ; |
| 1693 |
extern struct _IO_FILE *stdout ; |
|
1693 |
extern struct _IO_FILE *stdout ; |
| 1694 |
extern struct _IO_FILE *stderr ; |
|
1694 |
extern struct _IO_FILE *stderr ; |
| 1695 |
extern __attribute__((__nothrow__)) int remove(char const *__filename ) ; |
|
1695 |
extern __attribute__((__nothrow__)) int remove(char const *__filename ) ; |
| 1696 |
extern __attribute__((__nothrow__)) int rename(char const *__old , |
|
1696 |
extern __attribute__((__nothrow__)) int rename(char const *__old , |
| 1697 |
char const *__new ) ; |
|
1697 |
char const *__new ) ; |
| 1698 |
extern __attribute__((__nothrow__)) int renameat(int __oldfd , |
|
1698 |
extern __attribute__((__nothrow__)) int renameat(int __oldfd , |
| 1699 |
char const *__old , |
|
1699 |
char const *__old , |
| 1700 |
int __newfd , |
|
1700 |
int __newfd , |
| 1701 |
char const *__new ) ; |
|
1701 |
char const *__new ) ; |
| 1702 |
extern FILE *tmpfile(void) __asm__("tmpfile64") ; |
|
1702 |
extern FILE *tmpfile(void) __asm__("tmpfile64") ; |
| 1703 |
extern FILE *tmpfile64(void) ; |
|
1703 |
extern FILE *tmpfile64(void) ; |
| 1704 |
extern __attribute__((__nothrow__)) char *tmpnam(char *__s ) ; |
|
1704 |
extern __attribute__((__nothrow__)) char *tmpnam(char *__s ) ; |
| 1705 |
extern __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ; |
|
1705 |
extern __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ; |
| 1706 |
extern __attribute__((__nothrow__)) char *tempnam(char const *__dir , |
|
1706 |
extern __attribute__((__nothrow__)) char *tempnam(char const *__dir , |
| 1707 |
char const *__pfx ) __attribute__((__malloc__)) ; |
|
1707 |
char const *__pfx ) __attribute__((__malloc__)) ; |
| 1708 |
extern int fclose(FILE *__stream ) ; |
|
1708 |
extern int fclose(FILE *__stream ) ; |
| 1709 |
extern int fflush(FILE *__stream ) ; |
|
1709 |
extern int fflush(FILE *__stream ) ; |
| 1710 |
extern int fflush_unlocked(FILE *__stream ) ; |
|
1710 |
extern int fflush_unlocked(FILE *__stream ) ; |
| 1711 |
extern int fcloseall(void) ; |
|
1711 |
extern int fcloseall(void) ; |
| 1712 |
extern FILE *fopen(char const * __restrict __filename , |
|
1712 |
extern FILE *fopen(char const * __restrict __filename , |
| 1713 |
char const * __restrict __modes ) __asm__("fopen64") ; |
|
1713 |
char const * __restrict __modes ) __asm__("fopen64") ; |
| 1714 |
extern FILE *freopen(char const * __restrict __filename , |
|
1714 |
extern FILE *freopen(char const * __restrict __filename , |
| 1715 |
char const * __restrict __modes , |
|
1715 |
char const * __restrict __modes , |
| 1716 |
FILE * __restrict __stream ) __asm__("freopen64") ; |
|
1716 |
FILE * __restrict __stream ) __asm__("freopen64") ; |
| 1717 |
extern FILE *fopen64(char const * __restrict __filename , |
|
1717 |
extern FILE *fopen64(char const * __restrict __filename , |
| 1718 |
char const * __restrict __modes ) ; |
|
1718 |
char const * __restrict __modes ) ; |
| 1719 |
extern FILE *freopen64(char const * __restrict __filename , |
|
1719 |
extern FILE *freopen64(char const * __restrict __filename , |
| 1720 |
char const * __restrict __modes , |
|
1720 |
char const * __restrict __modes , |
| 1721 |
FILE * __restrict __stream ) ; |
|
1721 |
FILE * __restrict __stream ) ; |
| 1722 |
extern __attribute__((__nothrow__)) FILE *fdopen(int __fd , |
|
1722 |
extern __attribute__((__nothrow__)) FILE *fdopen(int __fd , |
| 1723 |
char const *__modes ) ; |
|
1723 |
char const *__modes ) ; |
| 1724 |
extern __attribute__((__nothrow__)) FILE *fopencookie(void * __restrict __magic_cookie , |
|
1724 |
extern __attribute__((__nothrow__)) FILE *fopencookie(void * __restrict __magic_cookie , |
| 1725 |
char const * __restrict __modes , |
|
1725 |
char const * __restrict __modes , |
| 1726 |
_IO_cookie_io_functions_t __io_funcs ) ; |
|
1726 |
_IO_cookie_io_functions_t __io_funcs ) ; |
| 1727 |
extern __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len , |
|
1727 |
extern __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len , |
| 1728 |
char const *__modes ) ; |
|
1728 |
char const *__modes ) ; |
| 1729 |
extern __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc , |
|
1729 |
extern __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc , |
| 1730 |
size_t *__sizeloc ) ; |
|
1730 |
size_t *__sizeloc ) ; |
| 1731 |
extern __attribute__((__nothrow__)) void setbuf(FILE * __restrict __stream , |
|
1731 |
extern __attribute__((__nothrow__)) void setbuf(FILE * __restrict __stream , |
| 1732 |
char * __restrict __buf ) ; |
|
1732 |
char * __restrict __buf ) ; |
| 1733 |
extern __attribute__((__nothrow__)) int setvbuf(FILE * __restrict __stream , |
|
1733 |
extern __attribute__((__nothrow__)) int setvbuf(FILE * __restrict __stream , |
| 1734 |
char * __restrict __buf , |
|
1734 |
char * __restrict __buf , |
| 1735 |
int __modes , size_t __n ) ; |
|
1735 |
int __modes , size_t __n ) ; |
| 1736 |
extern __attribute__((__nothrow__)) void setbuffer(FILE * __restrict __stream , |
|
1736 |
extern __attribute__((__nothrow__)) void setbuffer(FILE * __restrict __stream , |
| 1737 |
char * __restrict __buf , |
|
1737 |
char * __restrict __buf , |
| 1738 |
size_t __size ) ; |
|
1738 |
size_t __size ) ; |
| 1739 |
extern __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ; |
|
1739 |
extern __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ; |
| 1740 |
extern int fprintf(FILE * __restrict __stream , |
|
1740 |
extern int fprintf(FILE * __restrict __stream , |
| 1741 |
char const * __restrict __format , ...) ; |
|
1741 |
char const * __restrict __format , ...) ; |
| 1742 |
extern int printf(char const * __restrict __format , ...) ; |
|
1742 |
extern int printf(char const * __restrict __format , ...) ; |
| 1743 |
extern __attribute__((__nothrow__)) int sprintf(char * __restrict __s , |
|
1743 |
extern __attribute__((__nothrow__)) int sprintf(char * __restrict __s , |
| 1744 |
char const * __restrict __format |
|
1744 |
char const * __restrict __format |
| 1745 |
, ...) ; |
|
1745 |
, ...) ; |
| 1746 |
extern int vfprintf(FILE * __restrict __s , |
|
1746 |
extern int vfprintf(FILE * __restrict __s , |
| 1747 |
char const * __restrict __format , __gnuc_va_list __arg ) ; |
|
1747 |
char const * __restrict __format , __gnuc_va_list __arg ) ; |
| 1748 |
__inline extern int __attribute__((__gnu_inline__)) vprintf(char const * __restrict __fmt , |
|
1748 |
__inline extern int __attribute__((__gnu_inline__)) vprintf(char const * __restrict __fmt , |
| 1749 |
__gnuc_va_list __arg ) ; |
|
1749 |
__gnuc_va_list __arg ) ; |
| 1750 |
extern __attribute__((__nothrow__)) int vsprintf(char * __restrict __s , |
|
1750 |
extern __attribute__((__nothrow__)) int vsprintf(char * __restrict __s , |
| 1751 |
char const * __restrict __format , |
|
1751 |
char const * __restrict __format , |
| 1752 |
__gnuc_va_list __arg ) ; |
|
1752 |
__gnuc_va_list __arg ) ; |
| 1753 |
extern __attribute__((__nothrow__)) int ( snprintf)(char * __restrict __s , |
|
1753 |
extern __attribute__((__nothrow__)) int ( snprintf)(char * __restrict __s , |
| 1754 |
size_t __maxlen , |
|
1754 |
size_t __maxlen , |
| 1755 |
char const * __restrict __format |
|
1755 |
char const * __restrict __format |
| 1756 |
, ...) ; |
|
1756 |
, ...) ; |
| 1757 |
extern __attribute__((__nothrow__)) int ( vsnprintf)(char * __restrict __s , |
|
1757 |
extern __attribute__((__nothrow__)) int ( vsnprintf)(char * __restrict __s , |
| 1758 |
size_t __maxlen , |
|
1758 |
size_t __maxlen , |
| 1759 |
char const * __restrict __format , |
|
1759 |
char const * __restrict __format , |
| 1760 |
__gnuc_va_list __arg ) ; |
|
1760 |
__gnuc_va_list __arg ) ; |
| 1761 |
extern __attribute__((__nothrow__)) int ( vasprintf)(char ** __restrict __ptr , |
|
1761 |
extern __attribute__((__nothrow__)) int ( vasprintf)(char ** __restrict __ptr , |
| 1762 |
char const * __restrict __f , |
|
1762 |
char const * __restrict __f , |
| 1763 |
__gnuc_va_list __arg ) ; |
|
1763 |
__gnuc_va_list __arg ) ; |
| 1764 |
extern __attribute__((__nothrow__)) int ( __asprintf)(char ** __restrict __ptr , |
|
1764 |
extern __attribute__((__nothrow__)) int ( __asprintf)(char ** __restrict __ptr , |
| 1765 |
char const * __restrict __fmt |
|
1765 |
char const * __restrict __fmt |
| 1766 |
, ...) ; |
|
1766 |
, ...) ; |
| 1767 |
extern __attribute__((__nothrow__)) int ( asprintf)(char ** __restrict __ptr , |
|
1767 |
extern __attribute__((__nothrow__)) int ( asprintf)(char ** __restrict __ptr , |
| 1768 |
char const * __restrict __fmt |
|
1768 |
char const * __restrict __fmt |
| 1769 |
, ...) ; |
|
1769 |
, ...) ; |
| 1770 |
extern int ( vdprintf)(int __fd , |
|
1770 |
extern int ( vdprintf)(int __fd , |
| 1771 |
char const * __restrict __fmt , |
|
1771 |
char const * __restrict __fmt , |
| 1772 |
__gnuc_va_list __arg ) ; |
|
1772 |
__gnuc_va_list __arg ) ; |
| 1773 |
extern int ( dprintf)(int __fd , |
|
1773 |
extern int ( dprintf)(int __fd , |
| 1774 |
char const * __restrict __fmt |
|
1774 |
char const * __restrict __fmt |
| 1775 |
, ...) ; |
|
1775 |
, ...) ; |
| 1776 |
extern int fscanf(FILE * __restrict __stream , |
|
1776 |
extern int fscanf(FILE * __restrict __stream , |
| 1777 |
char const * __restrict __format , ...) ; |
|
1777 |
char const * __restrict __format , ...) ; |
| 1778 |
extern int scanf(char const * __restrict __format , ...) ; |
|
1778 |
extern int scanf(char const * __restrict __format , ...) ; |
| 1779 |
extern __attribute__((__nothrow__)) int sscanf(char const * __restrict __s , |
|
1779 |
extern __attribute__((__nothrow__)) int sscanf(char const * __restrict __s , |
| 1780 |
char const * __restrict __format |
|
1780 |
char const * __restrict __format |
| 1781 |
, ...) ; |
|
1781 |
, ...) ; |
| 1782 |
extern int ( vfscanf)(FILE * __restrict __s , |
|
1782 |
extern int ( vfscanf)(FILE * __restrict __s , |
| 1783 |
char const * __restrict __format , |
|
1783 |
char const * __restrict __format , |
| 1784 |
__gnuc_va_list __arg ) ; |
|
1784 |
__gnuc_va_list __arg ) ; |
| 1785 |
extern int ( vscanf)(char const * __restrict __format , |
|
1785 |
extern int ( vscanf)(char const * __restrict __format , |
| 1786 |
__gnuc_va_list __arg ) ; |
|
1786 |
__gnuc_va_list __arg ) ; |
| 1787 |
extern __attribute__((__nothrow__)) int ( vsscanf)(char const * __restrict __s , |
|
1787 |
extern __attribute__((__nothrow__)) int ( vsscanf)(char const * __restrict __s , |
| 1788 |
char const * __restrict __format , |
|
1788 |
char const * __restrict __format , |
| 1789 |
__gnuc_va_list __arg ) ; |
|
1789 |
__gnuc_va_list __arg ) ; |
| 1790 |
extern int fgetc(FILE *__stream ) ; |
|
1790 |
extern int fgetc(FILE *__stream ) ; |
| 1791 |
extern int getc(FILE *__stream ) ; |
|
1791 |
extern int getc(FILE *__stream ) ; |
| 1792 |
__inline extern int __attribute__((__gnu_inline__)) getchar(void) ; |
|
1792 |
__inline extern int __attribute__((__gnu_inline__)) getchar(void) ; |
| 1793 |
__inline extern int __attribute__((__gnu_inline__)) getc_unlocked(FILE *__fp ) ; |
|
1793 |
__inline extern int __attribute__((__gnu_inline__)) getc_unlocked(FILE *__fp ) ; |
| 1794 |
__inline extern int __attribute__((__gnu_inline__)) getchar_unlocked(void) ; |
|
1794 |
__inline extern int __attribute__((__gnu_inline__)) getchar_unlocked(void) ; |
| 1795 |
__inline extern int __attribute__((__gnu_inline__)) fgetc_unlocked(FILE *__fp ) ; |
|
1795 |
__inline extern int __attribute__((__gnu_inline__)) fgetc_unlocked(FILE *__fp ) ; |
| 1796 |
extern int fputc(int __c , FILE *__stream ) ; |
|
1796 |
extern int fputc(int __c , FILE *__stream ) ; |
| 1797 |
extern int putc(int __c , FILE *__stream ) ; |
|
1797 |
extern int putc(int __c , FILE *__stream ) ; |
| 1798 |
__inline extern int __attribute__((__gnu_inline__)) putchar(int __c ) ; |
|
1798 |
__inline extern int __attribute__((__gnu_inline__)) putchar(int __c ) ; |
| 1799 |
__inline extern int __attribute__((__gnu_inline__)) fputc_unlocked(int __c , |
|
1799 |
__inline extern int __attribute__((__gnu_inline__)) fputc_unlocked(int __c , |
| 1800 |
FILE *__stream ) ; |
|
1800 |
FILE *__stream ) ; |
| 1801 |
__inline extern int __attribute__((__gnu_inline__)) putc_unlocked(int __c , |
|
1801 |
__inline extern int __attribute__((__gnu_inline__)) putc_unlocked(int __c , |
| 1802 |
FILE *__stream ) ; |
|
1802 |
FILE *__stream ) ; |
| 1803 |
__inline extern int __attribute__((__gnu_inline__)) putchar_unlocked(int __c ) ; |
|
1803 |
__inline extern int __attribute__((__gnu_inline__)) putchar_unlocked(int __c ) ; |
| 1804 |
extern int getw(FILE *__stream ) ; |
|
1804 |
extern int getw(FILE *__stream ) ; |
| 1805 |
extern int putw(int __w , FILE *__stream ) ; |
|
1805 |
extern int putw(int __w , FILE *__stream ) ; |
| 1806 |
extern char *fgets(char * __restrict __s , int __n , |
|
1806 |
extern char *fgets(char * __restrict __s , int __n , |
| 1807 |
FILE * __restrict __stream ) ; |
|
1807 |
FILE * __restrict __stream ) ; |
| 1808 |
extern char *gets(char *__s ) ; |
|
1808 |
extern char *gets(char *__s ) ; |
| 1809 |
extern char *fgets_unlocked(char * __restrict __s , int __n , |
|
1809 |
extern char *fgets_unlocked(char * __restrict __s , int __n , |
| 1810 |
FILE * __restrict __stream ) ; |
|
1810 |
FILE * __restrict __stream ) ; |
| 1811 |
extern __ssize_t __getdelim(char ** __restrict __lineptr , |
|
1811 |
extern __ssize_t __getdelim(char ** __restrict __lineptr , |
| 1812 |
size_t * __restrict __n , int __delimiter , |
|
1812 |
size_t * __restrict __n , int __delimiter , |
| 1813 |
FILE * __restrict __stream ) ; |
|
1813 |
FILE * __restrict __stream ) ; |
| 1814 |
extern __ssize_t getdelim(char ** __restrict __lineptr , |
|
1814 |
extern __ssize_t getdelim(char ** __restrict __lineptr , |
| 1815 |
size_t * __restrict __n , int __delimiter , |
|
1815 |
size_t * __restrict __n , int __delimiter , |
| 1816 |
FILE * __restrict __stream ) ; |
|
1816 |
FILE * __restrict __stream ) ; |
| 1817 |
__inline extern __ssize_t __attribute__((__gnu_inline__)) getline(char ** __restrict __lineptr , |
|
1817 |
__inline extern __ssize_t __attribute__((__gnu_inline__)) getline(char ** __restrict __lineptr , |
| 1818 |
size_t * __restrict __n , |
|
1818 |
size_t * __restrict __n , |
| 1819 |
FILE * __restrict __stream ) ; |
|
1819 |
FILE * __restrict __stream ) ; |
| 1820 |
extern int fputs(char const * __restrict __s , FILE * __restrict __stream ) ; |
|
1820 |
extern int fputs(char const * __restrict __s , FILE * __restrict __stream ) ; |
| 1821 |
extern int puts(char const *__s ) ; |
|
1821 |
extern int puts(char const *__s ) ; |
| 1822 |
extern int ungetc(int __c , FILE *__stream ) ; |
|
1822 |
extern int ungetc(int __c , FILE *__stream ) ; |
| 1823 |
extern size_t fread(void * __restrict __ptr , size_t __size , size_t __n , |
|
1823 |
extern size_t fread(void * __restrict __ptr , size_t __size , size_t __n , |
| 1824 |
FILE * __restrict __stream ) ; |
|
1824 |
FILE * __restrict __stream ) ; |
| 1825 |
extern size_t fwrite(void const * __restrict __ptr , size_t __size , |
|
1825 |
extern size_t fwrite(void const * __restrict __ptr , size_t __size , |
| 1826 |
size_t __n , FILE * __restrict __s ) ; |
|
1826 |
size_t __n , FILE * __restrict __s ) ; |
| 1827 |
extern int fputs_unlocked(char const * __restrict __s , |
|
1827 |
extern int fputs_unlocked(char const * __restrict __s , |
| 1828 |
FILE * __restrict __stream ) ; |
|
1828 |
FILE * __restrict __stream ) ; |
| 1829 |
extern size_t fread_unlocked(void * __restrict __ptr , size_t __size , |
|
1829 |
extern size_t fread_unlocked(void * __restrict __ptr , size_t __size , |
| 1830 |
size_t __n , FILE * __restrict __stream ) ; |
|
1830 |
size_t __n , FILE * __restrict __stream ) ; |
| 1831 |
extern size_t fwrite_unlocked(void const * __restrict __ptr , size_t __size , |
|
1831 |
extern size_t fwrite_unlocked(void const * __restrict __ptr , size_t __size , |
| 1832 |
size_t __n , FILE * __restrict __stream ) ; |
|
1832 |
size_t __n , FILE * __restrict __stream ) ; |
| 1833 |
extern int fseek(FILE *__stream , long __off , int __whence ) ; |
|
1833 |
extern int fseek(FILE *__stream , long __off , int __whence ) ; |
| 1834 |
extern long ftell(FILE *__stream ) ; |
|
1834 |
extern long ftell(FILE *__stream ) ; |
| 1835 |
extern void rewind(FILE *__stream ) ; |
|
1835 |
extern void rewind(FILE *__stream ) ; |
| 1836 |
extern int fseeko(FILE *__stream , __off64_t __off , int __whence ) __asm__("fseeko64") ; |
|
1836 |
extern int fseeko(FILE *__stream , __off64_t __off , int __whence ) __asm__("fseeko64") ; |
| 1837 |
extern __off64_t ftello(FILE *__stream ) __asm__("ftello64") ; |
|
1837 |
extern __off64_t ftello(FILE *__stream ) __asm__("ftello64") ; |
| 1838 |
extern int fgetpos(FILE * __restrict __stream , fpos_t * __restrict __pos ) __asm__("fgetpos64") ; |
|
1838 |
extern int fgetpos(FILE * __restrict __stream , fpos_t * __restrict __pos ) __asm__("fgetpos64") ; |
| 1839 |
extern int fsetpos(FILE *__stream , fpos_t const *__pos ) __asm__("fsetpos64") ; |
|
1839 |
extern int fsetpos(FILE *__stream , fpos_t const *__pos ) __asm__("fsetpos64") ; |
| 1840 |
extern int fseeko64(FILE *__stream , __off64_t __off , int __whence ) ; |
|
1840 |
extern int fseeko64(FILE *__stream , __off64_t __off , int __whence ) ; |
| 1841 |
extern __off64_t ftello64(FILE *__stream ) ; |
|
1841 |
extern __off64_t ftello64(FILE *__stream ) ; |
| 1842 |
extern int fgetpos64(FILE * __restrict __stream , fpos64_t * __restrict __pos ) ; |
|
1842 |
extern int fgetpos64(FILE * __restrict __stream , fpos64_t * __restrict __pos ) ; |
| 1843 |
extern int fsetpos64(FILE *__stream , fpos64_t const *__pos ) ; |
|
1843 |
extern int fsetpos64(FILE *__stream , fpos64_t const *__pos ) ; |
| 1844 |
extern __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ; |
|
1844 |
extern __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ; |
| 1845 |
extern __attribute__((__nothrow__)) int feof(FILE *__stream ) ; |
|
1845 |
extern __attribute__((__nothrow__)) int feof(FILE *__stream ) ; |
| 1846 |
extern __attribute__((__nothrow__)) int ferror(FILE *__stream ) ; |
|
1846 |
extern __attribute__((__nothrow__)) int ferror(FILE *__stream ) ; |
| 1847 |
extern __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ; |
|
1847 |
extern __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ; |
| 1848 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) feof_unlocked(FILE *__stream ) ; |
|
1848 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) feof_unlocked(FILE *__stream ) ; |
| 1849 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ferror_unlocked(FILE *__stream ) ; |
|
1849 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ferror_unlocked(FILE *__stream ) ; |
| 1850 |
extern void perror(char const *__s ) ; |
|
1850 |
extern void perror(char const *__s ) ; |
| 1851 |
extern int sys_nerr ; |
|
1851 |
extern int sys_nerr ; |
| 1852 |
extern char const * const sys_errlist[] ; |
|
1852 |
extern char const * const sys_errlist[] ; |
| 1853 |
extern int _sys_nerr ; |
|
1853 |
extern int _sys_nerr ; |
| 1854 |
extern char const * const _sys_errlist[] ; |
|
1854 |
extern char const * const _sys_errlist[] ; |
| 1855 |
extern __attribute__((__nothrow__)) int fileno(FILE *__stream ) ; |
|
1855 |
extern __attribute__((__nothrow__)) int fileno(FILE *__stream ) ; |
| 1856 |
extern __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ; |
|
1856 |
extern __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ; |
| 1857 |
extern FILE *popen(char const *__command , char const *__modes ) ; |
|
1857 |
extern FILE *popen(char const *__command , char const *__modes ) ; |
| 1858 |
extern int pclose(FILE *__stream ) ; |
|
1858 |
extern int pclose(FILE *__stream ) ; |
| 1859 |
extern __attribute__((__nothrow__)) char *ctermid(char *__s ) ; |
|
1859 |
extern __attribute__((__nothrow__)) char *ctermid(char *__s ) ; |
| 1860 |
extern char *cuserid(char *__s ) ; |
|
1860 |
extern char *cuserid(char *__s ) ; |
| 1861 |
extern __attribute__((__nothrow__)) int ( obstack_printf)(struct obstack * __restrict __obstack , |
|
1861 |
extern __attribute__((__nothrow__)) int ( obstack_printf)(struct obstack * __restrict __obstack , |
| 1862 |
char const * __restrict __format |
|
1862 |
char const * __restrict __format |
| 1863 |
, ...) ; |
|
1863 |
, ...) ; |
| 1864 |
extern __attribute__((__nothrow__)) int ( obstack_vprintf)(struct obstack * __restrict __obstack , |
|
1864 |
extern __attribute__((__nothrow__)) int ( obstack_vprintf)(struct obstack * __restrict __obstack , |
| 1865 |
char const * __restrict __format , |
|
1865 |
char const * __restrict __format , |
| 1866 |
__gnuc_va_list __args ) ; |
|
1866 |
__gnuc_va_list __args ) ; |
| 1867 |
extern __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ; |
|
1867 |
extern __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ; |
| 1868 |
extern __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ; |
|
1868 |
extern __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ; |
| 1869 |
extern __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ; |
|
1869 |
extern __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ; |
| 1870 |
__inline extern int __attribute__((__gnu_inline__)) vprintf(char const * __restrict __fmt , |
|
1870 |
__inline extern int __attribute__((__gnu_inline__)) vprintf(char const * __restrict __fmt , |
| 1871 |
__gnuc_va_list __arg ) |
|
1871 |
__gnuc_va_list __arg ) |
| 1872 |
{ |
|
1872 |
{ |
| 1873 |
int tmp ; |
|
1873 |
int tmp ; |
| 1874 |
|
|
1874 |
|
| 1875 |
{ |
|
1875 |
{ |
| 1876 |
tmp = vfprintf((FILE *)stdout, __fmt, __arg); |
|
1876 |
tmp = vfprintf((FILE *)stdout, __fmt, __arg); |
| 1877 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
|
1877 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
| 1878 |
} |
|
1878 |
} |
| 1879 |
} |
|
1879 |
} |
| 1880 |
__inline extern int __attribute__((__gnu_inline__)) getchar(void) |
|
1880 |
__inline extern int __attribute__((__gnu_inline__)) getchar(void) |
| 1881 |
{ |
|
1881 |
{ |
| 1882 |
int tmp ; |
|
1882 |
int tmp ; |
| 1883 |
|
|
1883 |
|
| 1884 |
{ |
|
1884 |
{ |
| 1885 |
tmp = _IO_getc(stdin); |
|
1885 |
tmp = _IO_getc(stdin); |
| 1886 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
|
1886 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
| 1887 |
} |
|
1887 |
} |
| 1888 |
} |
|
1888 |
} |
| 1889 |
__inline extern int __attribute__((__gnu_inline__)) fgetc_unlocked(FILE *__fp ) |
|
1889 |
__inline extern int __attribute__((__gnu_inline__)) fgetc_unlocked(FILE *__fp ) |
| 1890 |
{ |
|
1890 |
{ |
| 1891 |
long tmp ; |
|
1891 |
long tmp ; |
| 1892 |
int tmp___0 ; |
|
1892 |
int tmp___0 ; |
| 1893 |
char *tmp___1 ; |
|
1893 |
char *tmp___1 ; |
| 1894 |
int tmp___2 ; |
|
1894 |
int tmp___2 ; |
| 1895 |
long tmp___3 ; |
|
1895 |
long tmp___3 ; |
| 1896 |
|
|
1896 |
|
| 1897 |
{ |
|
1897 |
{ |
| 1898 |
tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end), |
|
1898 |
tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end), |
| 1899 |
0L); |
|
1899 |
0L); |
| 1900 |
if (tmp___3) { |
|
1900 |
if (tmp___3) { |
| 1901 |
tmp___0 = __uflow(__fp); |
|
1901 |
tmp___0 = __uflow(__fp); |
| 1902 |
tmp___2 = tmp___0; |
|
1902 |
tmp___2 = tmp___0; |
| 1903 |
} else { |
|
1903 |
} else { |
| 1904 |
tmp___1 = __fp->_IO_read_ptr; |
|
1904 |
tmp___1 = __fp->_IO_read_ptr; |
| 1905 |
(__fp->_IO_read_ptr) ++; |
|
1905 |
(__fp->_IO_read_ptr) ++; |
| 1906 |
tmp___2 = (int )*((unsigned char *)tmp___1); |
|
1906 |
tmp___2 = (int )*((unsigned char *)tmp___1); |
| 1907 |
} |
|
1907 |
} |
| 1908 |
return ((int __attribute__((__gnu_inline__)) )tmp___2); |
|
1908 |
return ((int __attribute__((__gnu_inline__)) )tmp___2); |
| 1909 |
} |
|
1909 |
} |
| 1910 |
} |
|
1910 |
} |
| 1911 |
__inline extern int __attribute__((__gnu_inline__)) getc_unlocked(FILE *__fp ) |
|
1911 |
__inline extern int __attribute__((__gnu_inline__)) getc_unlocked(FILE *__fp ) |
| 1912 |
{ |
|
1912 |
{ |
| 1913 |
long tmp ; |
|
1913 |
long tmp ; |
| 1914 |
int tmp___0 ; |
|
1914 |
int tmp___0 ; |
| 1915 |
char *tmp___1 ; |
|
1915 |
char *tmp___1 ; |
| 1916 |
int tmp___2 ; |
|
1916 |
int tmp___2 ; |
| 1917 |
long tmp___3 ; |
|
1917 |
long tmp___3 ; |
| 1918 |
|
|
1918 |
|
| 1919 |
{ |
|
1919 |
{ |
| 1920 |
tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end), |
|
1920 |
tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end), |
| 1921 |
0L); |
|
1921 |
0L); |
| 1922 |
if (tmp___3) { |
|
1922 |
if (tmp___3) { |
| 1923 |
tmp___0 = __uflow(__fp); |
|
1923 |
tmp___0 = __uflow(__fp); |
| 1924 |
tmp___2 = tmp___0; |
|
1924 |
tmp___2 = tmp___0; |
| 1925 |
} else { |
|
1925 |
} else { |
| 1926 |
tmp___1 = __fp->_IO_read_ptr; |
|
1926 |
tmp___1 = __fp->_IO_read_ptr; |
| 1927 |
(__fp->_IO_read_ptr) ++; |
|
1927 |
(__fp->_IO_read_ptr) ++; |
| 1928 |
tmp___2 = (int )*((unsigned char *)tmp___1); |
|
1928 |
tmp___2 = (int )*((unsigned char *)tmp___1); |
| 1929 |
} |
|
1929 |
} |
| 1930 |
return ((int __attribute__((__gnu_inline__)) )tmp___2); |
|
1930 |
return ((int __attribute__((__gnu_inline__)) )tmp___2); |
| 1931 |
} |
|
1931 |
} |
| 1932 |
} |
|
1932 |
} |
| 1933 |
__inline extern int __attribute__((__gnu_inline__)) getchar_unlocked(void) |
|
1933 |
__inline extern int __attribute__((__gnu_inline__)) getchar_unlocked(void) |
| 1934 |
{ |
|
1934 |
{ |
| 1935 |
long tmp ; |
|
1935 |
long tmp ; |
| 1936 |
int tmp___0 ; |
|
1936 |
int tmp___0 ; |
| 1937 |
char *tmp___1 ; |
|
1937 |
char *tmp___1 ; |
| 1938 |
int tmp___2 ; |
|
1938 |
int tmp___2 ; |
| 1939 |
long tmp___3 ; |
|
1939 |
long tmp___3 ; |
| 1940 |
|
|
1940 |
|
| 1941 |
{ |
|
1941 |
{ |
| 1942 |
tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end), |
|
1942 |
tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end), |
| 1943 |
0L); |
|
1943 |
0L); |
| 1944 |
if (tmp___3) { |
|
1944 |
if (tmp___3) { |
| 1945 |
tmp___0 = __uflow(stdin); |
|
1945 |
tmp___0 = __uflow(stdin); |
| 1946 |
tmp___2 = tmp___0; |
|
1946 |
tmp___2 = tmp___0; |
| 1947 |
} else { |
|
1947 |
} else { |
| 1948 |
tmp___1 = stdin->_IO_read_ptr; |
|
1948 |
tmp___1 = stdin->_IO_read_ptr; |
| 1949 |
(stdin->_IO_read_ptr) ++; |
|
1949 |
(stdin->_IO_read_ptr) ++; |
| 1950 |
tmp___2 = (int )*((unsigned char *)tmp___1); |
|
1950 |
tmp___2 = (int )*((unsigned char *)tmp___1); |
| 1951 |
} |
|
1951 |
} |
| 1952 |
return ((int __attribute__((__gnu_inline__)) )tmp___2); |
|
1952 |
return ((int __attribute__((__gnu_inline__)) )tmp___2); |
| 1953 |
} |
|
1953 |
} |
| 1954 |
} |
|
1954 |
} |
| 1955 |
__inline extern int __attribute__((__gnu_inline__)) putchar(int __c ) |
|
1955 |
__inline extern int __attribute__((__gnu_inline__)) putchar(int __c ) |
| 1956 |
{ |
|
1956 |
{ |
| 1957 |
int tmp ; |
|
1957 |
int tmp ; |
| 1958 |
|
|
1958 |
|
| 1959 |
{ |
|
1959 |
{ |
| 1960 |
tmp = _IO_putc(__c, stdout); |
|
1960 |
tmp = _IO_putc(__c, stdout); |
| 1961 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
|
1961 |
return ((int __attribute__((__gnu_inline__)) )tmp); |
| 1962 |
} |
|
1962 |
} |
| 1963 |
} |
|
1963 |
} |
| 1964 |
__inline extern int __attribute__((__gnu_inline__)) fputc_unlocked(int __c , |
|
1964 |
__inline extern int __attribute__((__gnu_inline__)) fputc_unlocked(int __c , |
| 1965 |
FILE *__stream ) |
|
1965 |
FILE *__stream ) |
| 1966 |
{ |
|
1966 |
{ |
| 1967 |
long tmp ; |
|
1967 |
long tmp ; |
| 1968 |
int tmp___0 ; |
|
1968 |
int tmp___0 ; |
| 1969 |
char *tmp___1 ; |
|
1969 |
char *tmp___1 ; |
| 1970 |
char tmp___2 ; |
|
1970 |
char tmp___2 ; |
| 1971 |
int tmp___3 ; |
|
1971 |
int tmp___3 ; |
| 1972 |
long tmp___4 ; |
|
1972 |
long tmp___4 ; |
| 1973 |
|
|
1973 |
|
| 1974 |
{ |
|
1974 |
{ |
| 1975 |
tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end), |
|
1975 |
tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end), |
| 1976 |
0L); |
|
1976 |
0L); |
| 1977 |
if (tmp___4) { |
|
1977 |
if (tmp___4) { |
| 1978 |
tmp___0 = __overflow(__stream, (int )((unsigned char )__c)); |
|
1978 |
tmp___0 = __overflow(__stream, (int )((unsigned char )__c)); |
| 1979 |
tmp___3 = tmp___0; |
|
1979 |
tmp___3 = tmp___0; |
| 1980 |
} else { |
|
1980 |
} else { |
| 1981 |
tmp___1 = __stream->_IO_write_ptr; |
|
1981 |
tmp___1 = __stream->_IO_write_ptr; |
| 1982 |
(__stream->_IO_write_ptr) ++; |
|
1982 |
(__stream->_IO_write_ptr) ++; |
| 1983 |
tmp___2 = (char )__c; |
|
1983 |
tmp___2 = (char )__c; |
| 1984 |
*tmp___1 = tmp___2; |
|
1984 |
*tmp___1 = tmp___2; |
| 1985 |
tmp___3 = (int )((unsigned char )tmp___2); |
|
1985 |
tmp___3 = (int )((unsigned char )tmp___2); |
| 1986 |
} |
|
1986 |
} |
| 1987 |
return ((int __attribute__((__gnu_inline__)) )tmp___3); |
|
1987 |
return ((int __attribute__((__gnu_inline__)) )tmp___3); |
| 1988 |
} |
|
1988 |
} |
| 1989 |
} |
|
1989 |
} |
| 1990 |
__inline extern int __attribute__((__gnu_inline__)) putc_unlocked(int __c , |
|
1990 |
__inline extern int __attribute__((__gnu_inline__)) putc_unlocked(int __c , |
| 1991 |
FILE *__stream ) |
|
1991 |
FILE *__stream ) |
| 1992 |
{ |
|
1992 |
{ |
| 1993 |
long tmp ; |
|
1993 |
long tmp ; |
| 1994 |
int tmp___0 ; |
|
1994 |
int tmp___0 ; |
| 1995 |
char *tmp___1 ; |
|
1995 |
char *tmp___1 ; |
| 1996 |
char tmp___2 ; |
|
1996 |
char tmp___2 ; |
| 1997 |
int tmp___3 ; |
|
1997 |
int tmp___3 ; |
| 1998 |
long tmp___4 ; |
|
1998 |
long tmp___4 ; |
| 1999 |
|
|
1999 |
|
| 2000 |
{ |
|
2000 |
{ |
| 2001 |
tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end), |
|
2001 |
tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end), |
| 2002 |
0L); |
|
2002 |
0L); |
| 2003 |
if (tmp___4) { |
|
2003 |
if (tmp___4) { |
| 2004 |
tmp___0 = __overflow(__stream, (int )((unsigned char )__c)); |
|
2004 |
tmp___0 = __overflow(__stream, (int )((unsigned char )__c)); |
| 2005 |
tmp___3 = tmp___0; |
|
2005 |
tmp___3 = tmp___0; |
| 2006 |
} else { |
|
2006 |
} else { |
| 2007 |
tmp___1 = __stream->_IO_write_ptr; |
|
2007 |
tmp___1 = __stream->_IO_write_ptr; |
| 2008 |
(__stream->_IO_write_ptr) ++; |
|
2008 |
(__stream->_IO_write_ptr) ++; |
| 2009 |
tmp___2 = (char )__c; |
|
2009 |
tmp___2 = (char )__c; |
| 2010 |
*tmp___1 = tmp___2; |
|
2010 |
*tmp___1 = tmp___2; |
| 2011 |
tmp___3 = (int )((unsigned char )tmp___2); |
|
2011 |
tmp___3 = (int )((unsigned char )tmp___2); |
| 2012 |
} |
|
2012 |
} |
| 2013 |
return ((int __attribute__((__gnu_inline__)) )tmp___3); |
|
2013 |
return ((int __attribute__((__gnu_inline__)) )tmp___3); |
| 2014 |
} |
|
2014 |
} |
| 2015 |
} |
|
2015 |
} |
| 2016 |
__inline extern int __attribute__((__gnu_inline__)) putchar_unlocked(int __c ) |
|
2016 |
__inline extern int __attribute__((__gnu_inline__)) putchar_unlocked(int __c ) |
| 2017 |
{ |
|
2017 |
{ |
| 2018 |
long tmp ; |
|
2018 |
long tmp ; |
| 2019 |
int tmp___0 ; |
|
2019 |
int tmp___0 ; |
| 2020 |
char *tmp___1 ; |
|
2020 |
char *tmp___1 ; |
| 2021 |
char tmp___2 ; |
|
2021 |
char tmp___2 ; |
| 2022 |
int tmp___3 ; |
|
2022 |
int tmp___3 ; |
| 2023 |
long tmp___4 ; |
|
2023 |
long tmp___4 ; |
| 2024 |
|
|
2024 |
|
| 2025 |
{ |
|
2025 |
{ |
| 2026 |
tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end), |
|
2026 |
tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end), |
| 2027 |
0L); |
|
2027 |
0L); |
| 2028 |
if (tmp___4) { |
|
2028 |
if (tmp___4) { |
| 2029 |
tmp___0 = __overflow(stdout, (int )((unsigned char )__c)); |
|
2029 |
tmp___0 = __overflow(stdout, (int )((unsigned char )__c)); |
| 2030 |
tmp___3 = tmp___0; |
|
2030 |
tmp___3 = tmp___0; |
| 2031 |
} else { |
|
2031 |
} else { |
| 2032 |
tmp___1 = stdout->_IO_write_ptr; |
|
2032 |
tmp___1 = stdout->_IO_write_ptr; |
| 2033 |
(stdout->_IO_write_ptr) ++; |
|
2033 |
(stdout->_IO_write_ptr) ++; |
| 2034 |
tmp___2 = (char )__c; |
|
2034 |
tmp___2 = (char )__c; |
| 2035 |
*tmp___1 = tmp___2; |
|
2035 |
*tmp___1 = tmp___2; |
| 2036 |
tmp___3 = (int )((unsigned char )tmp___2); |
|
2036 |
tmp___3 = (int )((unsigned char )tmp___2); |
| 2037 |
} |
|
2037 |
} |
| 2038 |
return ((int __attribute__((__gnu_inline__)) )tmp___3); |
|
2038 |
return ((int __attribute__((__gnu_inline__)) )tmp___3); |
| 2039 |
} |
|
2039 |
} |
| 2040 |
} |
|
2040 |
} |
| 2041 |
__inline extern __ssize_t __attribute__((__gnu_inline__)) getline(char ** __restrict __lineptr , |
|
2041 |
__inline extern __ssize_t __attribute__((__gnu_inline__)) getline(char ** __restrict __lineptr , |
| 2042 |
size_t * __restrict __n , |
|
2042 |
size_t * __restrict __n , |
| 2043 |
FILE * __restrict __stream ) |
|
2043 |
FILE * __restrict __stream ) |
| 2044 |
{ |
|
2044 |
{ |
| 2045 |
__ssize_t tmp ; |
|
2045 |
__ssize_t tmp ; |
| 2046 |
|
|
2046 |
|
| 2047 |
{ |
|
2047 |
{ |
| 2048 |
tmp = __getdelim(__lineptr, __n, '\n', __stream); |
|
2048 |
tmp = __getdelim(__lineptr, __n, '\n', __stream); |
| 2049 |
return ((__ssize_t __attribute__((__gnu_inline__)) )tmp); |
|
2049 |
return ((__ssize_t __attribute__((__gnu_inline__)) )tmp); |
| 2050 |
} |
|
2050 |
} |
| 2051 |
} |
|
2051 |
} |
| 2052 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) feof_unlocked(FILE *__stream ) ; |
|
2052 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) feof_unlocked(FILE *__stream ) ; |
| 2053 |
__inline extern int __attribute__((__gnu_inline__)) feof_unlocked(FILE *__stream ) |
|
2053 |
__inline extern int __attribute__((__gnu_inline__)) feof_unlocked(FILE *__stream ) |
| 2054 |
{ |
|
2054 |
{ |
| 2055 |
|
|
2055 |
|
| 2056 |
|
|
2056 |
|
| 2057 |
{ |
|
2057 |
{ |
| 2058 |
return ((int __attribute__((__gnu_inline__)) )((__stream->_flags & 16) != 0)); |
|
2058 |
return ((int __attribute__((__gnu_inline__)) )((__stream->_flags & 16) != 0)); |
| 2059 |
} |
|
2059 |
} |
| 2060 |
} |
|
2060 |
} |
| 2061 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ferror_unlocked(FILE *__stream ) ; |
|
2061 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ferror_unlocked(FILE *__stream ) ; |
| 2062 |
__inline extern int __attribute__((__gnu_inline__)) ferror_unlocked(FILE *__stream ) |
|
2062 |
__inline extern int __attribute__((__gnu_inline__)) ferror_unlocked(FILE *__stream ) |
| 2063 |
{ |
|
2063 |
{ |
| 2064 |
|
|
2064 |
|
| 2065 |
|
|
2065 |
|
| 2066 |
{ |
|
2066 |
{ |
| 2067 |
return ((int __attribute__((__gnu_inline__)) )((__stream->_flags & 32) != 0)); |
|
2067 |
return ((int __attribute__((__gnu_inline__)) )((__stream->_flags & 32) != 0)); |
| 2068 |
} |
|
2068 |
} |
| 2069 |
} |
|
2069 |
} |
| 2070 |
extern int rpl_fseeko(FILE *fp , off_t offset , int whence ) ; |
|
2070 |
extern int rpl_fseeko(FILE *fp , off_t offset , int whence ) ; |
| 2071 |
extern int rpl_fflush(FILE *gl_stream ) ; |
|
2071 |
extern int rpl_fflush(FILE *gl_stream ) ; |
| 2072 |
extern int fpurge(FILE *gl_stream ) ; |
|
2072 |
extern int fpurge(FILE *gl_stream ) ; |
| 2073 |
extern __attribute__((__nothrow__)) clock_t clock(void) ; |
|
2073 |
extern __attribute__((__nothrow__)) clock_t clock(void) ; |
| 2074 |
extern __attribute__((__nothrow__)) time_t time(time_t *__timer ) ; |
|
2074 |
extern __attribute__((__nothrow__)) time_t time(time_t *__timer ) ; |
| 2075 |
extern __attribute__((__nothrow__)) double difftime(time_t __time1 , |
|
2075 |
extern __attribute__((__nothrow__)) double difftime(time_t __time1 , |
| 2076 |
time_t __time0 ) __attribute__((__const__)) ; |
|
2076 |
time_t __time0 ) __attribute__((__const__)) ; |
| 2077 |
extern __attribute__((__nothrow__)) time_t mktime(struct tm *__tp ) ; |
|
2077 |
extern __attribute__((__nothrow__)) time_t mktime(struct tm *__tp ) ; |
| 2078 |
extern __attribute__((__nothrow__)) size_t strftime(char * __restrict __s , |
|
2078 |
extern __attribute__((__nothrow__)) size_t strftime(char * __restrict __s , |
| 2079 |
size_t __maxsize , |
|
2079 |
size_t __maxsize , |
| 2080 |
char const * __restrict __format , |
|
2080 |
char const * __restrict __format , |
| 2081 |
struct tm const * __restrict __tp ) ; |
|
2081 |
struct tm const * __restrict __tp ) ; |
| 2082 |
extern __attribute__((__nothrow__)) char *strptime(char const * __restrict __s , |
|
2082 |
extern __attribute__((__nothrow__)) char *strptime(char const * __restrict __s , |
| 2083 |
char const * __restrict __fmt , |
|
2083 |
char const * __restrict __fmt , |
| 2084 |
struct tm *__tp ) ; |
|
2084 |
struct tm *__tp ) ; |
| 2085 |
extern __attribute__((__nothrow__)) size_t strftime_l(char * __restrict __s , |
|
2085 |
extern __attribute__((__nothrow__)) size_t strftime_l(char * __restrict __s , |
| 2086 |
size_t __maxsize , |
|
2086 |
size_t __maxsize , |
| 2087 |
char const * __restrict __format , |
|
2087 |
char const * __restrict __format , |
| 2088 |
struct tm const * __restrict __tp , |
|
2088 |
struct tm const * __restrict __tp , |
| 2089 |
__locale_t __loc ) ; |
|
2089 |
__locale_t __loc ) ; |
| 2090 |
extern __attribute__((__nothrow__)) char *strptime_l(char const * __restrict __s , |
|
2090 |
extern __attribute__((__nothrow__)) char *strptime_l(char const * __restrict __s , |
| 2091 |
char const * __restrict __fmt , |
|
2091 |
char const * __restrict __fmt , |
| 2092 |
struct tm *__tp , |
|
2092 |
struct tm *__tp , |
| 2093 |
__locale_t __loc ) ; |
|
2093 |
__locale_t __loc ) ; |
| 2094 |
extern __attribute__((__nothrow__)) struct tm *gmtime(time_t const *__timer ) ; |
|
2094 |
extern __attribute__((__nothrow__)) struct tm *gmtime(time_t const *__timer ) ; |
| 2095 |
extern __attribute__((__nothrow__)) struct tm *localtime(time_t const *__timer ) ; |
|
2095 |
extern __attribute__((__nothrow__)) struct tm *localtime(time_t const *__timer ) ; |
| 2096 |
extern __attribute__((__nothrow__)) struct tm *gmtime_r(time_t const * __restrict __timer , |
|
2096 |
extern __attribute__((__nothrow__)) struct tm *gmtime_r(time_t const * __restrict __timer , |
| 2097 |
struct tm * __restrict __tp ) ; |
|
2097 |
struct tm * __restrict __tp ) ; |
| 2098 |
extern __attribute__((__nothrow__)) struct tm *localtime_r(time_t const * __restrict __timer , |
|
2098 |
extern __attribute__((__nothrow__)) struct tm *localtime_r(time_t const * __restrict __timer , |
| 2099 |
struct tm * __restrict __tp ) ; |
|
2099 |
struct tm * __restrict __tp ) ; |
| 2100 |
extern __attribute__((__nothrow__)) char *asctime(struct tm const *__tp ) ; |
|
2100 |
extern __attribute__((__nothrow__)) char *asctime(struct tm const *__tp ) ; |
| 2101 |
extern __attribute__((__nothrow__)) char *ctime(time_t const *__timer ) ; |
|
2101 |
extern __attribute__((__nothrow__)) char *ctime(time_t const *__timer ) ; |
| 2102 |
extern __attribute__((__nothrow__)) char *asctime_r(struct tm const * __restrict __tp , |
|
2102 |
extern __attribute__((__nothrow__)) char *asctime_r(struct tm const * __restrict __tp , |
| 2103 |
char * __restrict __buf ) ; |
|
2103 |
char * __restrict __buf ) ; |
| 2104 |
extern __attribute__((__nothrow__)) char *ctime_r(time_t const * __restrict __timer , |
|
2104 |
extern __attribute__((__nothrow__)) char *ctime_r(time_t const * __restrict __timer , |
| 2105 |
char * __restrict __buf ) ; |
|
2105 |
char * __restrict __buf ) ; |
| 2106 |
extern char *__tzname[2] ; |
|
2106 |
extern char *__tzname[2] ; |
| 2107 |
extern int __daylight ; |
|
2107 |
extern int __daylight ; |
| 2108 |
extern long __timezone ; |
|
2108 |
extern long __timezone ; |
| 2109 |
extern char *tzname[2] ; |
|
2109 |
extern char *tzname[2] ; |
| 2110 |
extern __attribute__((__nothrow__)) void tzset(void) ; |
|
2110 |
extern __attribute__((__nothrow__)) void tzset(void) ; |
| 2111 |
extern int daylight ; |
|
2111 |
extern int daylight ; |
| 2112 |
extern long timezone ; |
|
2112 |
extern long timezone ; |
| 2113 |
extern __attribute__((__nothrow__)) int stime(time_t const *__when ) ; |
|
2113 |
extern __attribute__((__nothrow__)) int stime(time_t const *__when ) ; |
| 2114 |
extern __attribute__((__nothrow__)) time_t timegm(struct tm *__tp ) ; |
|
2114 |
extern __attribute__((__nothrow__)) time_t timegm(struct tm *__tp ) ; |
| 2115 |
extern __attribute__((__nothrow__)) time_t timelocal(struct tm *__tp ) ; |
|
2115 |
extern __attribute__((__nothrow__)) time_t timelocal(struct tm *__tp ) ; |
| 2116 |
extern __attribute__((__nothrow__)) int dysize(int __year ) __attribute__((__const__)) ; |
|
2116 |
extern __attribute__((__nothrow__)) int dysize(int __year ) __attribute__((__const__)) ; |
| 2117 |
extern int nanosleep(struct timespec const *__requested_time , |
|
2117 |
extern int nanosleep(struct timespec const *__requested_time , |
| 2118 |
struct timespec *__remaining ) ; |
|
2118 |
struct timespec *__remaining ) ; |
| 2119 |
extern __attribute__((__nothrow__)) int clock_getres(clockid_t __clock_id , |
|
2119 |
extern __attribute__((__nothrow__)) int clock_getres(clockid_t __clock_id , |
| 2120 |
struct timespec *__res ) ; |
|
2120 |
struct timespec *__res ) ; |
| 2121 |
extern __attribute__((__nothrow__)) int clock_gettime(clockid_t __clock_id , |
|
2121 |
extern __attribute__((__nothrow__)) int clock_gettime(clockid_t __clock_id , |
| 2122 |
struct timespec *__tp ) ; |
|
2122 |
struct timespec *__tp ) ; |
| 2123 |
extern __attribute__((__nothrow__)) int clock_settime(clockid_t __clock_id , |
|
2123 |
extern __attribute__((__nothrow__)) int clock_settime(clockid_t __clock_id , |
| 2124 |
struct timespec const *__tp ) ; |
|
2124 |
struct timespec const *__tp ) ; |
| 2125 |
extern int clock_nanosleep(clockid_t __clock_id , int __flags , |
|
2125 |
extern int clock_nanosleep(clockid_t __clock_id , int __flags , |
| 2126 |
struct timespec const *__req , |
|
2126 |
struct timespec const *__req , |
| 2127 |
struct timespec *__rem ) ; |
|
2127 |
struct timespec *__rem ) ; |
| 2128 |
extern __attribute__((__nothrow__)) int clock_getcpuclockid(pid_t __pid , |
|
2128 |
extern __attribute__((__nothrow__)) int clock_getcpuclockid(pid_t __pid , |
| 2129 |
clockid_t *__clock_id ) ; |
|
2129 |
clockid_t *__clock_id ) ; |
| 2130 |
extern __attribute__((__nothrow__)) int timer_create(clockid_t __clock_id , |
|
2130 |
extern __attribute__((__nothrow__)) int timer_create(clockid_t __clock_id , |
| 2131 |
struct sigevent * __restrict __evp , |
|
2131 |
struct sigevent * __restrict __evp , |
| 2132 |
timer_t * __restrict __timerid ) ; |
|
2132 |
timer_t * __restrict __timerid ) ; |
| 2133 |
extern __attribute__((__nothrow__)) int timer_delete(timer_t __timerid ) ; |
|
2133 |
extern __attribute__((__nothrow__)) int timer_delete(timer_t __timerid ) ; |
| 2134 |
extern __attribute__((__nothrow__)) int timer_settime(timer_t __timerid , |
|
2134 |
extern __attribute__((__nothrow__)) int timer_settime(timer_t __timerid , |
| 2135 |
int __flags , |
|
2135 |
int __flags , |
| 2136 |
struct itimerspec const * __restrict __value , |
|
2136 |
struct itimerspec const * __restrict __value , |
| 2137 |
struct itimerspec * __restrict __ovalue ) ; |
|
2137 |
struct itimerspec * __restrict __ovalue ) ; |
| 2138 |
extern __attribute__((__nothrow__)) int timer_gettime(timer_t __timerid , |
|
2138 |
extern __attribute__((__nothrow__)) int timer_gettime(timer_t __timerid , |
| 2139 |
struct itimerspec *__value ) ; |
|
2139 |
struct itimerspec *__value ) ; |
| 2140 |
extern __attribute__((__nothrow__)) int timer_getoverrun(timer_t __timerid ) ; |
|
2140 |
extern __attribute__((__nothrow__)) int timer_getoverrun(timer_t __timerid ) ; |
| 2141 |
extern int getdate_err ; |
|
2141 |
extern int getdate_err ; |
| 2142 |
extern struct tm *getdate(char const *__string ) ; |
|
2142 |
extern struct tm *getdate(char const *__string ) ; |
| 2143 |
extern int getdate_r(char const * __restrict __string , |
|
2143 |
extern int getdate_r(char const * __restrict __string , |
| 2144 |
struct tm * __restrict __resbufp ) ; |
|
2144 |
struct tm * __restrict __resbufp ) ; |
| 2145 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict __dest , |
|
2145 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict __dest , |
| 2146 |
void const * __restrict __src , |
|
2146 |
void const * __restrict __src , |
| 2147 |
size_t __n ) ; |
|
2147 |
size_t __n ) ; |
| 2148 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest , |
|
2148 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest , |
| 2149 |
void const *__src , |
|
2149 |
void const *__src , |
| 2150 |
size_t __n ) ; |
|
2150 |
size_t __n ) ; |
| 2151 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict __dest , |
|
2151 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict __dest , |
| 2152 |
void const * __restrict __src , |
|
2152 |
void const * __restrict __src , |
| 2153 |
int __c , |
|
2153 |
int __c , |
| 2154 |
size_t __n ) ; |
|
2154 |
size_t __n ) ; |
| 2155 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s , |
|
2155 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s , |
| 2156 |
int __c , |
|
2156 |
int __c , |
| 2157 |
size_t __n ) ; |
|
2157 |
size_t __n ) ; |
| 2158 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const *__s1 , |
|
2158 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const *__s1 , |
| 2159 |
void const *__s2 , |
|
2159 |
void const *__s2 , |
| 2160 |
size_t __n ) __attribute__((__pure__)) ; |
|
2160 |
size_t __n ) __attribute__((__pure__)) ; |
| 2161 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const *__s , |
|
2161 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const *__s , |
| 2162 |
int __c , |
|
2162 |
int __c , |
| 2163 |
size_t __n ) __attribute__((__pure__)) ; |
|
2163 |
size_t __n ) __attribute__((__pure__)) ; |
| 2164 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) rawmemchr)(void const *__s , |
|
2164 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) rawmemchr)(void const *__s , |
| 2165 |
int __c ) __attribute__((__pure__)) ; |
|
2165 |
int __c ) __attribute__((__pure__)) ; |
| 2166 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memrchr)(void const *__s , |
|
2166 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memrchr)(void const *__s , |
| 2167 |
int __c , |
|
2167 |
int __c , |
| 2168 |
size_t __n ) __attribute__((__pure__)) ; |
|
2168 |
size_t __n ) __attribute__((__pure__)) ; |
| 2169 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict __dest , |
|
2169 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict __dest , |
| 2170 |
char const * __restrict __src ) ; |
|
2170 |
char const * __restrict __src ) ; |
| 2171 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict __dest , |
|
2171 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict __dest , |
| 2172 |
char const * __restrict __src , |
|
2172 |
char const * __restrict __src , |
| 2173 |
size_t __n ) ; |
|
2173 |
size_t __n ) ; |
| 2174 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict __dest , |
|
2174 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict __dest , |
| 2175 |
char const * __restrict __src ) ; |
|
2175 |
char const * __restrict __src ) ; |
| 2176 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict __dest , |
|
2176 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict __dest , |
| 2177 |
char const * __restrict __src , |
|
2177 |
char const * __restrict __src , |
| 2178 |
size_t __n ) ; |
|
2178 |
size_t __n ) ; |
| 2179 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const *__s1 , |
|
2179 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const *__s1 , |
| 2180 |
char const *__s2 ) __attribute__((__pure__)) ; |
|
2180 |
char const *__s2 ) __attribute__((__pure__)) ; |
| 2181 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const *__s1 , |
|
2181 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const *__s1 , |
| 2182 |
char const *__s2 , |
|
2182 |
char const *__s2 , |
| 2183 |
size_t __n ) __attribute__((__pure__)) ; |
|
2183 |
size_t __n ) __attribute__((__pure__)) ; |
| 2184 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const *__s1 , |
|
2184 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const *__s1 , |
| 2185 |
char const *__s2 ) __attribute__((__pure__)) ; |
|
2185 |
char const *__s2 ) __attribute__((__pure__)) ; |
| 2186 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict __dest , |
|
2186 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict __dest , |
| 2187 |
char const * __restrict __src , |
|
2187 |
char const * __restrict __src , |
| 2188 |
size_t __n ) ; |
|
2188 |
size_t __n ) ; |
| 2189 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const *__s1 , |
|
2189 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const *__s1 , |
| 2190 |
char const *__s2 , |
|
2190 |
char const *__s2 , |
| 2191 |
__locale_t __l ) __attribute__((__pure__)) ; |
|
2191 |
__locale_t __l ) __attribute__((__pure__)) ; |
| 2192 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest , |
|
2192 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest , |
| 2193 |
char const *__src , |
|
2193 |
char const *__src , |
| 2194 |
size_t __n , |
|
2194 |
size_t __n , |
| 2195 |
__locale_t __l ) ; |
|
2195 |
__locale_t __l ) ; |
| 2196 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const *__s ) __attribute__((__malloc__)) ; |
|
2196 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const *__s ) __attribute__((__malloc__)) ; |
| 2197 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const *__string , |
|
2197 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const *__string , |
| 2198 |
size_t __n ) __attribute__((__malloc__)) ; |
|
2198 |
size_t __n ) __attribute__((__malloc__)) ; |
| 2199 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const *__s , |
|
2199 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const *__s , |
| 2200 |
int __c ) __attribute__((__pure__)) ; |
|
2200 |
int __c ) __attribute__((__pure__)) ; |
| 2201 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const *__s , |
|
2201 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const *__s , |
| 2202 |
int __c ) __attribute__((__pure__)) ; |
|
2202 |
int __c ) __attribute__((__pure__)) ; |
| 2203 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchrnul)(char const *__s , |
|
2203 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchrnul)(char const *__s , |
| 2204 |
int __c ) __attribute__((__pure__)) ; |
|
2204 |
int __c ) __attribute__((__pure__)) ; |
| 2205 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const *__s , |
|
2205 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const *__s , |
| 2206 |
char const *__reject ) __attribute__((__pure__)) ; |
|
2206 |
char const *__reject ) __attribute__((__pure__)) ; |
| 2207 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const *__s , |
|
2207 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const *__s , |
| 2208 |
char const *__accept ) __attribute__((__pure__)) ; |
|
2208 |
char const *__accept ) __attribute__((__pure__)) ; |
| 2209 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const *__s , |
|
2209 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const *__s , |
| 2210 |
char const *__accept ) __attribute__((__pure__)) ; |
|
2210 |
char const *__accept ) __attribute__((__pure__)) ; |
| 2211 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const *__haystack , |
|
2211 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const *__haystack , |
| 2212 |
char const *__needle ) __attribute__((__pure__)) ; |
|
2212 |
char const *__needle ) __attribute__((__pure__)) ; |
| 2213 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict __s , |
|
2213 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict __s , |
| 2214 |
char const * __restrict __delim ) ; |
|
2214 |
char const * __restrict __delim ) ; |
| 2215 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict __s , |
|
2215 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict __s , |
| 2216 |
char const * __restrict __delim , |
|
2216 |
char const * __restrict __delim , |
| 2217 |
char ** __restrict __save_ptr ) ; |
|
2217 |
char ** __restrict __save_ptr ) ; |
| 2218 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict __s , |
|
2218 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict __s , |
| 2219 |
char const * __restrict __delim , |
|
2219 |
char const * __restrict __delim , |
| 2220 |
char ** __restrict __save_ptr ) ; |
|
2220 |
char ** __restrict __save_ptr ) ; |
| 2221 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcasestr)(char const *__haystack , |
|
2221 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcasestr)(char const *__haystack , |
| 2222 |
char const *__needle ) __attribute__((__pure__)) ; |
|
2222 |
char const *__needle ) __attribute__((__pure__)) ; |
| 2223 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,3))) memmem)(void const *__haystack , |
|
2223 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,3))) memmem)(void const *__haystack , |
| 2224 |
size_t __haystacklen , |
|
2224 |
size_t __haystacklen , |
| 2225 |
void const *__needle , |
|
2225 |
void const *__needle , |
| 2226 |
size_t __needlelen ) __attribute__((__pure__)) ; |
|
2226 |
size_t __needlelen ) __attribute__((__pure__)) ; |
| 2227 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) __mempcpy)(void * __restrict __dest , |
|
2227 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) __mempcpy)(void * __restrict __dest , |
| 2228 |
void const * __restrict __src , |
|
2228 |
void const * __restrict __src , |
| 2229 |
size_t __n ) ; |
|
2229 |
size_t __n ) ; |
| 2230 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) mempcpy)(void * __restrict __dest , |
|
2230 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) mempcpy)(void * __restrict __dest , |
| 2231 |
void const * __restrict __src , |
|
2231 |
void const * __restrict __src , |
| 2232 |
size_t __n ) ; |
|
2232 |
size_t __n ) ; |
| 2233 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const *__s ) __attribute__((__pure__)) ; |
|
2233 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const *__s ) __attribute__((__pure__)) ; |
| 2234 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const *__string , |
|
2234 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const *__string , |
| 2235 |
size_t __maxlen ) __attribute__((__pure__)) ; |
|
2235 |
size_t __maxlen ) __attribute__((__pure__)) ; |
| 2236 |
extern __attribute__((__nothrow__)) char *strerror(int __errnum ) ; |
|
2236 |
extern __attribute__((__nothrow__)) char *strerror(int __errnum ) ; |
| 2237 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strerror_r)(int __errnum , |
|
2237 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strerror_r)(int __errnum , |
| 2238 |
char *__buf , |
|
2238 |
char *__buf , |
| 2239 |
size_t __buflen ) ; |
|
2239 |
size_t __buflen ) ; |
| 2240 |
extern __attribute__((__nothrow__)) char *strerror_l(int __errnum , |
|
2240 |
extern __attribute__((__nothrow__)) char *strerror_l(int __errnum , |
| 2241 |
__locale_t __l ) ; |
|
2241 |
__locale_t __l ) ; |
| 2242 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s , |
|
2242 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s , |
| 2243 |
size_t __n ) ; |
|
2243 |
size_t __n ) ; |
| 2244 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const *__src , |
|
2244 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const *__src , |
| 2245 |
void *__dest , |
|
2245 |
void *__dest , |
| 2246 |
size_t __n ) ; |
|
2246 |
size_t __n ) ; |
| 2247 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s , |
|
2247 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s , |
| 2248 |
size_t __n ) ; |
|
2248 |
size_t __n ) ; |
| 2249 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const *__s1 , |
|
2249 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const *__s1 , |
| 2250 |
void const *__s2 , |
|
2250 |
void const *__s2 , |
| 2251 |
size_t __n ) __attribute__((__pure__)) ; |
|
2251 |
size_t __n ) __attribute__((__pure__)) ; |
| 2252 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const *__s , |
|
2252 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const *__s , |
| 2253 |
int __c ) __attribute__((__pure__)) ; |
|
2253 |
int __c ) __attribute__((__pure__)) ; |
| 2254 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const *__s , |
|
2254 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const *__s , |
| 2255 |
int __c ) __attribute__((__pure__)) ; |
|
2255 |
int __c ) __attribute__((__pure__)) ; |
| 2256 |
extern __attribute__((__nothrow__)) int ffs(int __i ) __attribute__((__const__)) ; |
|
2256 |
extern __attribute__((__nothrow__)) int ffs(int __i ) __attribute__((__const__)) ; |
| 2257 |
extern __attribute__((__nothrow__)) int ffsl(long __l ) __attribute__((__const__)) ; |
|
2257 |
extern __attribute__((__nothrow__)) int ffsl(long __l ) __attribute__((__const__)) ; |
| 2258 |
extern __attribute__((__nothrow__)) int ffsll(long long __ll ) __attribute__((__const__)) ; |
|
2258 |
extern __attribute__((__nothrow__)) int ffsll(long long __ll ) __attribute__((__const__)) ; |
| 2259 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const *__s1 , |
|
2259 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const *__s1 , |
| 2260 |
char const *__s2 ) __attribute__((__pure__)) ; |
|
2260 |
char const *__s2 ) __attribute__((__pure__)) ; |
| 2261 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const *__s1 , |
|
2261 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const *__s1 , |
| 2262 |
char const *__s2 , |
|
2262 |
char const *__s2 , |
| 2263 |
size_t __n ) __attribute__((__pure__)) ; |
|
2263 |
size_t __n ) __attribute__((__pure__)) ; |
| 2264 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcasecmp_l)(char const *__s1 , |
|
2264 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcasecmp_l)(char const *__s1 , |
| 2265 |
char const *__s2 , |
|
2265 |
char const *__s2 , |
| 2266 |
__locale_t __loc ) __attribute__((__pure__)) ; |
|
2266 |
__locale_t __loc ) __attribute__((__pure__)) ; |
| 2267 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,4))) strncasecmp_l)(char const *__s1 , |
|
2267 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,4))) strncasecmp_l)(char const *__s1 , |
| 2268 |
char const *__s2 , |
|
2268 |
char const *__s2 , |
| 2269 |
size_t __n , |
|
2269 |
size_t __n , |
| 2270 |
__locale_t __loc ) __attribute__((__pure__)) ; |
|
2270 |
__locale_t __loc ) __attribute__((__pure__)) ; |
| 2271 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict __stringp , |
|
2271 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict __stringp , |
| 2272 |
char const * __restrict __delim ) ; |
|
2272 |
char const * __restrict __delim ) ; |
| 2273 |
extern __attribute__((__nothrow__)) char *strsignal(int __sig ) ; |
|
2273 |
extern __attribute__((__nothrow__)) char *strsignal(int __sig ) ; |
| 2274 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict __dest , |
|
2274 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict __dest , |
| 2275 |
char const * __restrict __src ) ; |
|
2275 |
char const * __restrict __src ) ; |
| 2276 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict __dest , |
|
2276 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict __dest , |
| 2277 |
char const * __restrict __src ) ; |
|
2277 |
char const * __restrict __src ) ; |
| 2278 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict __dest , |
|
2278 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict __dest , |
| 2279 |
char const * __restrict __src , |
|
2279 |
char const * __restrict __src , |
| 2280 |
size_t __n ) ; |
|
2280 |
size_t __n ) ; |
| 2281 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict __dest , |
|
2281 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict __dest , |
| 2282 |
char const * __restrict __src , |
|
2282 |
char const * __restrict __src , |
| 2283 |
size_t __n ) ; |
|
2283 |
size_t __n ) ; |
| 2284 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strverscmp)(char const *__s1 , |
|
2284 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strverscmp)(char const *__s1 , |
| 2285 |
char const *__s2 ) __attribute__((__pure__)) ; |
|
2285 |
char const *__s2 ) __attribute__((__pure__)) ; |
| 2286 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strfry)(char *__string ) ; |
|
2286 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strfry)(char *__string ) ; |
| 2287 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memfrob)(void *__s , |
|
2287 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memfrob)(void *__s , |
| 2288 |
size_t __n ) ; |
|
2288 |
size_t __n ) ; |
| 2289 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) basename)(char const *__filename ) ; |
|
2289 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) basename)(char const *__filename ) ; |
| 2290 |
extern void *__rawmemchr(void const *__s , int __c ) ; |
|
2290 |
extern void *__rawmemchr(void const *__s , int __c ) ; |
| 2291 |
__inline extern size_t __attribute__((__gnu_inline__)) __strcspn_c1(char const *__s , |
|
2291 |
__inline extern size_t __attribute__((__gnu_inline__)) __strcspn_c1(char const *__s , |
| 2292 |
int __reject ) ; |
|
2292 |
int __reject ) ; |
| 2293 |
__inline extern size_t __attribute__((__gnu_inline__)) __strcspn_c1(char const *__s , |
|
2293 |
__inline extern size_t __attribute__((__gnu_inline__)) __strcspn_c1(char const *__s , |
| 2294 |
int __reject ) |
|
2294 |
int __reject ) |
| 2295 |
{ |
|
2295 |
{ |
| 2296 |
register size_t __result ; |
|
2296 |
register size_t __result ; |
| 2297 |
|
|
2297 |
|
| 2298 |
{ |
|
2298 |
{ |
| 2299 |
__result = (size_t )0; |
|
2299 |
__result = (size_t )0; |
| 2300 |
while (1) { |
|
2300 |
while (1) { |
| 2301 |
if ((int const )*(__s + __result) != 0) { |
|
2301 |
if ((int const )*(__s + __result) != 0) { |
| 2302 |
if ((int const )*(__s + __result) != (int const )__reject) { |
|
2302 |
if ((int const )*(__s + __result) != (int const )__reject) { |
| 2303 |
|
|
2303 |
|
| 2304 |
} else { |
|
2304 |
} else { |
| 2305 |
break; |
|
2305 |
break; |
| 2306 |
} |
|
2306 |
} |
| 2307 |
} else { |
|
2307 |
} else { |
| 2308 |
break; |
|
2308 |
break; |
| 2309 |
} |
|
2309 |
} |
| 2310 |
__result ++; |
|
2310 |
__result ++; |
| 2311 |
} |
|
2311 |
} |
| 2312 |
return ((size_t __attribute__((__gnu_inline__)) )__result); |
|
2312 |
return ((size_t __attribute__((__gnu_inline__)) )__result); |
| 2313 |
} |
|
2313 |
} |
| 2314 |
} |
|
2314 |
} |
| 2315 |
__inline extern size_t __attribute__((__gnu_inline__)) __strcspn_c2(char const *__s , |
|
2315 |
__inline extern size_t __attribute__((__gnu_inline__)) __strcspn_c2(char const *__s , |
| 2316 |
int __reject1 , |
|
2316 |
int __reject1 , |
| 2317 |
int __reject2 ) ; |
|
2317 |
int __reject2 ) ; |
| 2318 |
__inline extern size_t __attribute__((__gnu_inline__)) __strcspn_c2(char const *__s , |
|
2318 |
__inline extern size_t __attribute__((__gnu_inline__)) __strcspn_c2(char const *__s , |
| 2319 |
int __reject1 , |
|
2319 |
int __reject1 , |
| 2320 |
int __reject2 ) |
|
2320 |
int __reject2 ) |
| 2321 |
{ |
|
2321 |
{ |
| 2322 |
register size_t __result ; |
|
2322 |
register size_t __result ; |
| 2323 |
|
|
2323 |
|
| 2324 |
{ |
|
2324 |
{ |
| 2325 |
__result = (size_t )0; |
|
2325 |
__result = (size_t )0; |
| 2326 |
while (1) { |
|
2326 |
while (1) { |
| 2327 |
if ((int const )*(__s + __result) != 0) { |
|
2327 |
if ((int const )*(__s + __result) != 0) { |
| 2328 |
if ((int const )*(__s + __result) != (int const )__reject1) { |
|
2328 |
if ((int const )*(__s + __result) != (int const )__reject1) { |
| 2329 |
if ((int const )*(__s + __result) != (int const )__reject2) { |
|
2329 |
if ((int const )*(__s + __result) != (int const )__reject2) { |
| 2330 |
|
|
2330 |
|
| 2331 |
} else { |
|
2331 |
} else { |
| 2332 |
break; |
|
2332 |
break; |
| 2333 |
} |
|
2333 |
} |
| 2334 |
} else { |
|
2334 |
} else { |
| 2335 |
break; |
|
2335 |
break; |
| 2336 |
} |
|
2336 |
} |
| 2337 |
} else { |
|
2337 |
} else { |
| 2338 |
break; |
|
2338 |
break; |
| 2339 |
} |
|
2339 |
} |
| 2340 |
__result ++; |
|
2340 |
__result ++; |
| 2341 |
} |
|
2341 |
} |
| 2342 |
return ((size_t __attribute__((__gnu_inline__)) )__result); |
|
2342 |
return ((size_t __attribute__((__gnu_inline__)) )__result); |
| 2343 |
} |
|
2343 |
} |
| 2344 |
} |
|
2344 |
} |
| 2345 |
__inline extern size_t __attribute__((__gnu_inline__)) __strcspn_c3(char const *__s , |
|
2345 |
__inline extern size_t __attribute__((__gnu_inline__)) __strcspn_c3(char const *__s , |
| 2346 |
int __reject1 , |
|
2346 |
int __reject1 , |
| 2347 |
int __reject2 , |
|
2347 |
int __reject2 , |
| 2348 |
int __reject3 ) ; |
|
2348 |
int __reject3 ) ; |
| 2349 |
__inline extern size_t __attribute__((__gnu_inline__)) __strcspn_c3(char const *__s , |
|
2349 |
__inline extern size_t __attribute__((__gnu_inline__)) __strcspn_c3(char const *__s , |
| 2350 |
int __reject1 , |
|
2350 |
int __reject1 , |
| 2351 |
int __reject2 , |
|
2351 |
int __reject2 , |
| 2352 |
int __reject3 ) |
|
2352 |
int __reject3 ) |
| 2353 |
{ |
|
2353 |
{ |
| 2354 |
register size_t __result ; |
|
2354 |
register size_t __result ; |
| 2355 |
|
|
2355 |
|
| 2356 |
{ |
|
2356 |
{ |
| 2357 |
__result = (size_t )0; |
|
2357 |
__result = (size_t )0; |
| 2358 |
while (1) { |
|
2358 |
while (1) { |
| 2359 |
if ((int const )*(__s + __result) != 0) { |
|
2359 |
if ((int const )*(__s + __result) != 0) { |
| 2360 |
if ((int const )*(__s + __result) != (int const )__reject1) { |
|
2360 |
if ((int const )*(__s + __result) != (int const )__reject1) { |
| 2361 |
if ((int const )*(__s + __result) != (int const )__reject2) { |
|
2361 |
if ((int const )*(__s + __result) != (int const )__reject2) { |
| 2362 |
if ((int const )*(__s + __result) != (int const )__reject3) { |
|
2362 |
if ((int const )*(__s + __result) != (int const )__reject3) { |
| 2363 |
|
|
2363 |
|
| 2364 |
} else { |
|
2364 |
} else { |
| 2365 |
break; |
|
2365 |
break; |
| 2366 |
} |
|
2366 |
} |
| 2367 |
} else { |
|
2367 |
} else { |
| 2368 |
break; |
|
2368 |
break; |
| 2369 |
} |
|
2369 |
} |
| 2370 |
} else { |
|
2370 |
} else { |
| 2371 |
break; |
|
2371 |
break; |
| 2372 |
} |
|
2372 |
} |
| 2373 |
} else { |
|
2373 |
} else { |
| 2374 |
break; |
|
2374 |
break; |
| 2375 |
} |
|
2375 |
} |
| 2376 |
__result ++; |
|
2376 |
__result ++; |
| 2377 |
} |
|
2377 |
} |
| 2378 |
return ((size_t __attribute__((__gnu_inline__)) )__result); |
|
2378 |
return ((size_t __attribute__((__gnu_inline__)) )__result); |
| 2379 |
} |
|
2379 |
} |
| 2380 |
} |
|
2380 |
} |
| 2381 |
__inline extern size_t __attribute__((__gnu_inline__)) __strspn_c1(char const *__s , |
|
2381 |
__inline extern size_t __attribute__((__gnu_inline__)) __strspn_c1(char const *__s , |
| 2382 |
int __accept ) ; |
|
2382 |
int __accept ) ; |
| 2383 |
__inline extern size_t __attribute__((__gnu_inline__)) __strspn_c1(char const *__s , |
|
2383 |
__inline extern size_t __attribute__((__gnu_inline__)) __strspn_c1(char const *__s , |
| 2384 |
int __accept ) |
|
2384 |
int __accept ) |
| 2385 |
{ |
|
2385 |
{ |
| 2386 |
register size_t __result ; |
|
2386 |
register size_t __result ; |
| 2387 |
|
|
2387 |
|
| 2388 |
{ |
|
2388 |
{ |
| 2389 |
__result = (size_t )0; |
|
2389 |
__result = (size_t )0; |
| 2390 |
while ((int const )*(__s + __result) == (int const )__accept) { |
|
2390 |
while ((int const )*(__s + __result) == (int const )__accept) { |
| 2391 |
__result ++; |
|
2391 |
__result ++; |
| 2392 |
} |
|
2392 |
} |
| 2393 |
return ((size_t __attribute__((__gnu_inline__)) )__result); |
|
2393 |
return ((size_t __attribute__((__gnu_inline__)) )__result); |
| 2394 |
} |
|
2394 |
} |
| 2395 |
} |
|
2395 |
} |
| 2396 |
__inline extern size_t __attribute__((__gnu_inline__)) __strspn_c2(char const *__s , |
|
2396 |
__inline extern size_t __attribute__((__gnu_inline__)) __strspn_c2(char const *__s , |
| 2397 |
int __accept1 , |
|
2397 |
int __accept1 , |
| 2398 |
int __accept2 ) ; |
|
2398 |
int __accept2 ) ; |
| 2399 |
__inline extern size_t __attribute__((__gnu_inline__)) __strspn_c2(char const *__s , |
|
2399 |
__inline extern size_t __attribute__((__gnu_inline__)) __strspn_c2(char const *__s , |
| 2400 |
int __accept1 , |
|
2400 |
int __accept1 , |
| 2401 |
int __accept2 ) |
|
2401 |
int __accept2 ) |
| 2402 |
{ |
|
2402 |
{ |
| 2403 |
register size_t __result ; |
|
2403 |
register size_t __result ; |
| 2404 |
|
|
2404 |
|
| 2405 |
{ |
|
2405 |
{ |
| 2406 |
__result = (size_t )0; |
|
2406 |
__result = (size_t )0; |
| 2407 |
while (1) { |
|
2407 |
while (1) { |
| 2408 |
if ((int const )*(__s + __result) == (int const )__accept1) { |
|
2408 |
if ((int const )*(__s + __result) == (int const )__accept1) { |
| 2409 |
|
|
2409 |
|
| 2410 |
} else |
|
2410 |
} else |
| 2411 |
if ((int const )*(__s + __result) == (int const )__accept2) { |
|
2411 |
if ((int const )*(__s + __result) == (int const )__accept2) { |
| 2412 |
|
|
2412 |
|
| 2413 |
} else { |
|
2413 |
} else { |
| 2414 |
break; |
|
2414 |
break; |
| 2415 |
} |
|
2415 |
} |
| 2416 |
__result ++; |
|
2416 |
__result ++; |
| 2417 |
} |
|
2417 |
} |
| 2418 |
return ((size_t __attribute__((__gnu_inline__)) )__result); |
|
2418 |
return ((size_t __attribute__((__gnu_inline__)) )__result); |
| 2419 |
} |
|
2419 |
} |
| 2420 |
} |
|
2420 |
} |
| 2421 |
__inline extern size_t __attribute__((__gnu_inline__)) __strspn_c3(char const *__s , |
|
2421 |
__inline extern size_t __attribute__((__gnu_inline__)) __strspn_c3(char const *__s , |
| 2422 |
int __accept1 , |
|
2422 |
int __accept1 , |
| 2423 |
int __accept2 , |
|
2423 |
int __accept2 , |
| 2424 |
int __accept3 ) ; |
|
2424 |
int __accept3 ) ; |
| 2425 |
__inline extern size_t __attribute__((__gnu_inline__)) __strspn_c3(char const *__s , |
|
2425 |
__inline extern size_t __attribute__((__gnu_inline__)) __strspn_c3(char const *__s , |
| 2426 |
int __accept1 , |
|
2426 |
int __accept1 , |
| 2427 |
int __accept2 , |
|
2427 |
int __accept2 , |
| 2428 |
int __accept3 ) |
|
2428 |
int __accept3 ) |
| 2429 |
{ |
|
2429 |
{ |
| 2430 |
register size_t __result ; |
|
2430 |
register size_t __result ; |
| 2431 |
|
|
2431 |
|
| 2432 |
{ |
|
2432 |
{ |
| 2433 |
__result = (size_t )0; |
|
2433 |
__result = (size_t )0; |
| 2434 |
while (1) { |
|
2434 |
while (1) { |
| 2435 |
if ((int const )*(__s + __result) == (int const )__accept1) { |
|
2435 |
if ((int const )*(__s + __result) == (int const )__accept1) { |
| 2436 |
|
|
2436 |
|
| 2437 |
} else |
|
2437 |
} else |
| 2438 |
if ((int const )*(__s + __result) == (int const )__accept2) { |
|
2438 |
if ((int const )*(__s + __result) == (int const )__accept2) { |
| 2439 |
|
|
2439 |
|
| 2440 |
} else |
|
2440 |
} else |
| 2441 |
if ((int const )*(__s + __result) == (int const )__accept3) { |
|
2441 |
if ((int const )*(__s + __result) == (int const )__accept3) { |
| 2442 |
|
|
2442 |
|
| 2443 |
} else { |
|
2443 |
} else { |
| 2444 |
break; |
|
2444 |
break; |
| 2445 |
} |
|
2445 |
} |
| 2446 |
__result ++; |
|
2446 |
__result ++; |
| 2447 |
} |
|
2447 |
} |
| 2448 |
return ((size_t __attribute__((__gnu_inline__)) )__result); |
|
2448 |
return ((size_t __attribute__((__gnu_inline__)) )__result); |
| 2449 |
} |
|
2449 |
} |
| 2450 |
} |
|
2450 |
} |
| 2451 |
__inline extern char __attribute__((__gnu_inline__)) *__strpbrk_c2(char const *__s , |
|
2451 |
__inline extern char __attribute__((__gnu_inline__)) *__strpbrk_c2(char const *__s , |
| 2452 |
int __accept1 , |
|
2452 |
int __accept1 , |
| 2453 |
int __accept2 ) ; |
|
2453 |
int __accept2 ) ; |
| 2454 |
__inline extern char __attribute__((__gnu_inline__)) *__strpbrk_c2(char const *__s , |
|
2454 |
__inline extern char __attribute__((__gnu_inline__)) *__strpbrk_c2(char const *__s , |
| 2455 |
int __accept1 , |
|
2455 |
int __accept1 , |
| 2456 |
int __accept2 ) |
|
2456 |
int __accept2 ) |
| 2457 |
{ |
|
2457 |
{ |
| 2458 |
char *tmp ; |
|
2458 |
char *tmp ; |
| 2459 |
|
|
2459 |
|
| 2460 |
{ |
|
2460 |
{ |
| 2461 |
while (1) { |
|
2461 |
while (1) { |
| 2462 |
if ((int const )*__s != 0) { |
|
2462 |
if ((int const )*__s != 0) { |
| 2463 |
if ((int const )*__s != (int const )__accept1) { |
|
2463 |
if ((int const )*__s != (int const )__accept1) { |
| 2464 |
if ((int const )*__s != (int const )__accept2) { |
|
2464 |
if ((int const )*__s != (int const )__accept2) { |
| 2465 |
|
|
2465 |
|
| 2466 |
} else { |
|
2466 |
} else { |
| 2467 |
break; |
|
2467 |
break; |
| 2468 |
} |
|
2468 |
} |
| 2469 |
} else { |
|
2469 |
} else { |
| 2470 |
break; |
|
2470 |
break; |
| 2471 |
} |
|
2471 |
} |
| 2472 |
} else { |
|
2472 |
} else { |
| 2473 |
break; |
|
2473 |
break; |
| 2474 |
} |
|
2474 |
} |
| 2475 |
__s ++; |
|
2475 |
__s ++; |
| 2476 |
} |
|
2476 |
} |
| 2477 |
if ((int const )*__s == 0) { |
|
2477 |
if ((int const )*__s == 0) { |
| 2478 |
tmp = (char *)((void *)0); |
|
2478 |
tmp = (char *)((void *)0); |
| 2479 |
} else { |
|
2479 |
} else { |
| 2480 |
tmp = (char *)((size_t )__s); |
|
2480 |
tmp = (char *)((size_t )__s); |
| 2481 |
} |
|
2481 |
} |
| 2482 |
return ((char __attribute__((__gnu_inline__)) *)tmp); |
|
2482 |
return ((char __attribute__((__gnu_inline__)) *)tmp); |
| 2483 |
} |
|
2483 |
} |
| 2484 |
} |
|
2484 |
} |
| 2485 |
__inline extern char __attribute__((__gnu_inline__)) *__strpbrk_c3(char const *__s , |
|
2485 |
__inline extern char __attribute__((__gnu_inline__)) *__strpbrk_c3(char const *__s , |
| 2486 |
int __accept1 , |
|
2486 |
int __accept1 , |
| 2487 |
int __accept2 , |
|
2487 |
int __accept2 , |
| 2488 |
int __accept3 ) ; |
|
2488 |
int __accept3 ) ; |
| 2489 |
__inline extern char __attribute__((__gnu_inline__)) *__strpbrk_c3(char const *__s , |
|
2489 |
__inline extern char __attribute__((__gnu_inline__)) *__strpbrk_c3(char const *__s , |
| 2490 |
int __accept1 , |
|
2490 |
int __accept1 , |
| 2491 |
int __accept2 , |
|
2491 |
int __accept2 , |
| 2492 |
int __accept3 ) |
|
2492 |
int __accept3 ) |
| 2493 |
{ |
|
2493 |
{ |
| 2494 |
char *tmp ; |
|
2494 |
char *tmp ; |
| 2495 |
|
|
2495 |
|
| 2496 |
{ |
|
2496 |
{ |
| 2497 |
while (1) { |
|
2497 |
while (1) { |
| 2498 |
if ((int const )*__s != 0) { |
|
2498 |
if ((int const )*__s != 0) { |
| 2499 |
if ((int const )*__s != (int const )__accept1) { |
|
2499 |
if ((int const )*__s != (int const )__accept1) { |
| 2500 |
if ((int const )*__s != (int const )__accept2) { |
|
2500 |
if ((int const )*__s != (int const )__accept2) { |
| 2501 |
if ((int const )*__s != (int const )__accept3) { |
|
2501 |
if ((int const )*__s != (int const )__accept3) { |
| 2502 |
|
|
2502 |
|
| 2503 |
} else { |
|
2503 |
} else { |
| 2504 |
break; |
|
2504 |
break; |
| 2505 |
} |
|
2505 |
} |
| 2506 |
} else { |
|
2506 |
} else { |
| 2507 |
break; |
|
2507 |
break; |
| 2508 |
} |
|
2508 |
} |
| 2509 |
} else { |
|
2509 |
} else { |
| 2510 |
break; |
|
2510 |
break; |
| 2511 |
} |
|
2511 |
} |
| 2512 |
} else { |
|
2512 |
} else { |
| 2513 |
break; |
|
2513 |
break; |
| 2514 |
} |
|
2514 |
} |
| 2515 |
__s ++; |
|
2515 |
__s ++; |
| 2516 |
} |
|
2516 |
} |
| 2517 |
if ((int const )*__s == 0) { |
|
2517 |
if ((int const )*__s == 0) { |
| 2518 |
tmp = (char *)((void *)0); |
|
2518 |
tmp = (char *)((void *)0); |
| 2519 |
} else { |
|
2519 |
} else { |
| 2520 |
tmp = (char *)((size_t )__s); |
|
2520 |
tmp = (char *)((size_t )__s); |
| 2521 |
} |
|
2521 |
} |
| 2522 |
return ((char __attribute__((__gnu_inline__)) *)tmp); |
|
2522 |
return ((char __attribute__((__gnu_inline__)) *)tmp); |
| 2523 |
} |
|
2523 |
} |
| 2524 |
} |
|
2524 |
} |
| 2525 |
__inline extern char __attribute__((__gnu_inline__)) *__strtok_r_1c(char *__s , |
|
2525 |
__inline extern char __attribute__((__gnu_inline__)) *__strtok_r_1c(char *__s , |
| 2526 |
char __sep , |
|
2526 |
char __sep , |
| 2527 |
char **__nextp ) ; |
|
2527 |
char **__nextp ) ; |
| 2528 |
__inline extern char __attribute__((__gnu_inline__)) *__strtok_r_1c(char *__s , |
|
2528 |
__inline extern char __attribute__((__gnu_inline__)) *__strtok_r_1c(char *__s , |
| 2529 |
char __sep , |
|
2529 |
char __sep , |
| 2530 |
char **__nextp ) |
|
2530 |
char **__nextp ) |
| 2531 |
{ |
|
2531 |
{ |
| 2532 |
char *__result ; |
|
2532 |
char *__result ; |
| 2533 |
char *tmp ; |
|
2533 |
char *tmp ; |
| 2534 |
char *tmp___0 ; |
|
2534 |
char *tmp___0 ; |
| 2535 |
|
|
2535 |
|
| 2536 |
{ |
|
2536 |
{ |
| 2537 |
if ((unsigned int )__s == (unsigned int )((void *)0)) { |
|
2537 |
if ((unsigned int )__s == (unsigned int )((void *)0)) { |
| 2538 |
__s = *__nextp; |
|
2538 |
__s = *__nextp; |
| 2539 |
} else { |
|
2539 |
} else { |
| 2540 |
|
|
2540 |
|
| 2541 |
} |
|
2541 |
} |
| 2542 |
while ((int )*__s == (int )__sep) { |
|
2542 |
while ((int )*__s == (int )__sep) { |
| 2543 |
__s ++; |
|
2543 |
__s ++; |
| 2544 |
} |
|
2544 |
} |
| 2545 |
__result = (char *)((void *)0); |
|
2545 |
__result = (char *)((void *)0); |
| 2546 |
if ((int )*__s != 0) { |
|
2546 |
if ((int )*__s != 0) { |
| 2547 |
tmp = __s; |
|
2547 |
tmp = __s; |
| 2548 |
__s ++; |
|
2548 |
__s ++; |
| 2549 |
__result = tmp; |
|
2549 |
__result = tmp; |
| 2550 |
while ((int )*__s != 0) { |
|
2550 |
while ((int )*__s != 0) { |
| 2551 |
tmp___0 = __s; |
|
2551 |
tmp___0 = __s; |
| 2552 |
__s ++; |
|
2552 |
__s ++; |
| 2553 |
if ((int )*tmp___0 == (int )__sep) { |
|
2553 |
if ((int )*tmp___0 == (int )__sep) { |
| 2554 |
*(__s + -1) = (char )'\000'; |
|
2554 |
*(__s + -1) = (char )'\000'; |
| 2555 |
break; |
|
2555 |
break; |
| 2556 |
} else { |
|
2556 |
} else { |
| 2557 |
|
|
2557 |
|
| 2558 |
} |
|
2558 |
} |
| 2559 |
} |
|
2559 |
} |
| 2560 |
} else { |
|
2560 |
} else { |
| 2561 |
|
|
2561 |
|
| 2562 |
} |
|
2562 |
} |
| 2563 |
*__nextp = __s; |
|
2563 |
*__nextp = __s; |
| 2564 |
return ((char __attribute__((__gnu_inline__)) *)__result); |
|
2564 |
return ((char __attribute__((__gnu_inline__)) *)__result); |
| 2565 |
} |
|
2565 |
} |
| 2566 |
} |
|
2566 |
} |
| 2567 |
extern char *__strsep_g(char **__stringp , char const *__delim ) ; |
|
2567 |
extern char *__strsep_g(char **__stringp , char const *__delim ) ; |
| 2568 |
__inline extern char __attribute__((__gnu_inline__)) *__strsep_1c(char **__s , |
|
2568 |
__inline extern char __attribute__((__gnu_inline__)) *__strsep_1c(char **__s , |
| 2569 |
char __reject ) ; |
|
2569 |
char __reject ) ; |
| 2570 |
__inline extern char __attribute__((__gnu_inline__)) *__strsep_1c(char **__s , |
|
2570 |
__inline extern char __attribute__((__gnu_inline__)) *__strsep_1c(char **__s , |
| 2571 |
char __reject ) |
|
2571 |
char __reject ) |
| 2572 |
{ |
|
2572 |
{ |
| 2573 |
register char *__retval ; |
|
2573 |
register char *__retval ; |
| 2574 |
char *tmp ; |
|
2574 |
char *tmp ; |
| 2575 |
char *tmp___0 ; |
|
2575 |
char *tmp___0 ; |
| 2576 |
void *tmp___1 ; |
|
2576 |
void *tmp___1 ; |
| 2577 |
char *tmp___2 ; |
|
2577 |
char *tmp___2 ; |
| 2578 |
|
|
2578 |
|
| 2579 |
{ |
|
2579 |
{ |
| 2580 |
__retval = *__s; |
|
2580 |
__retval = *__s; |
| 2581 |
if ((unsigned int )__retval != (unsigned int )((void *)0)) { |
|
2581 |
if ((unsigned int )__retval != (unsigned int )((void *)0)) { |
| 2582 |
tmp___2 = __builtin_strchr(__retval, (int )__reject); |
|
2582 |
tmp___2 = __builtin_strchr(__retval, (int )__reject); |
| 2583 |
tmp___0 = tmp___2; |
|
2583 |
tmp___0 = tmp___2; |
| 2584 |
*__s = tmp___0; |
|
2584 |
*__s = tmp___0; |
| 2585 |
if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) { |
|
2585 |
if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) { |
| 2586 |
tmp = *__s; |
|
2586 |
tmp = *__s; |
| 2587 |
(*__s) ++; |
|
2587 |
(*__s) ++; |
| 2588 |
*tmp = (char )'\000'; |
|
2588 |
*tmp = (char )'\000'; |
| 2589 |
} else { |
|
2589 |
} else { |
| 2590 |
|
|
2590 |
|
| 2591 |
} |
|
2591 |
} |
| 2592 |
} else { |
|
2592 |
} else { |
| 2593 |
|
|
2593 |
|
| 2594 |
} |
|
2594 |
} |
| 2595 |
return ((char __attribute__((__gnu_inline__)) *)__retval); |
|
2595 |
return ((char __attribute__((__gnu_inline__)) *)__retval); |
| 2596 |
} |
|
2596 |
} |
| 2597 |
} |
|
2597 |
} |
| 2598 |
__inline extern char __attribute__((__gnu_inline__)) *__strsep_2c(char **__s , |
|
2598 |
__inline extern char __attribute__((__gnu_inline__)) *__strsep_2c(char **__s , |
| 2599 |
char __reject1 , |
|
2599 |
char __reject1 , |
| 2600 |
char __reject2 ) ; |
|
2600 |
char __reject2 ) ; |
| 2601 |
__inline extern char __attribute__((__gnu_inline__)) *__strsep_2c(char **__s , |
|
2601 |
__inline extern char __attribute__((__gnu_inline__)) *__strsep_2c(char **__s , |
| 2602 |
char __reject1 , |
|
2602 |
char __reject1 , |
| 2603 |
char __reject2 ) |
|
2603 |
char __reject2 ) |
| 2604 |
{ |
|
2604 |
{ |
| 2605 |
register char *__retval ; |
|
2605 |
register char *__retval ; |
| 2606 |
register char *__cp ; |
|
2606 |
register char *__cp ; |
| 2607 |
char *tmp ; |
|
2607 |
char *tmp ; |
| 2608 |
|
|
2608 |
|
| 2609 |
{ |
|
2609 |
{ |
| 2610 |
__retval = *__s; |
|
2610 |
__retval = *__s; |
| 2611 |
if ((unsigned int )__retval != (unsigned int )((void *)0)) { |
|
2611 |
if ((unsigned int )__retval != (unsigned int )((void *)0)) { |
| 2612 |
__cp = __retval; |
|
2612 |
__cp = __retval; |
| 2613 |
while (1) { |
|
2613 |
while (1) { |
| 2614 |
if ((int )*__cp == 0) { |
|
2614 |
if ((int )*__cp == 0) { |
| 2615 |
__cp = (char *)((void *)0); |
|
2615 |
__cp = (char *)((void *)0); |
| 2616 |
break; |
|
2616 |
break; |
| 2617 |
} else { |
|
2617 |
} else { |
| 2618 |
|
|
2618 |
|
| 2619 |
} |
|
2619 |
} |
| 2620 |
if ((int )*__cp == (int )__reject1) { |
|
2620 |
if ((int )*__cp == (int )__reject1) { |
| 2621 |
tmp = __cp; |
|
2621 |
tmp = __cp; |
| 2622 |
__cp ++; |
|
2622 |
__cp ++; |
| 2623 |
*tmp = (char )'\000'; |
|
2623 |
*tmp = (char )'\000'; |
| 2624 |
break; |
|
2624 |
break; |
| 2625 |
} else |
|
2625 |
} else |
| 2626 |
if ((int )*__cp == (int )__reject2) { |
|
2626 |
if ((int )*__cp == (int )__reject2) { |
| 2627 |
tmp = __cp; |
|
2627 |
tmp = __cp; |
| 2628 |
__cp ++; |
|
2628 |
__cp ++; |
| 2629 |
*tmp = (char )'\000'; |
|
2629 |
*tmp = (char )'\000'; |
| 2630 |
break; |
|
2630 |
break; |
| 2631 |
} else { |
|
2631 |
} else { |
| 2632 |
|
|
2632 |
|
| 2633 |
} |
|
2633 |
} |
| 2634 |
__cp ++; |
|
2634 |
__cp ++; |
| 2635 |
} |
|
2635 |
} |
| 2636 |
*__s = __cp; |
|
2636 |
*__s = __cp; |
| 2637 |
} else { |
|
2637 |
} else { |
| 2638 |
|
|
2638 |
|
| 2639 |
} |
|
2639 |
} |
| 2640 |
return ((char __attribute__((__gnu_inline__)) *)__retval); |
|
2640 |
return ((char __attribute__((__gnu_inline__)) *)__retval); |
| 2641 |
} |
|
2641 |
} |
| 2642 |
} |
|
2642 |
} |
| 2643 |
__inline extern char __attribute__((__gnu_inline__)) *__strsep_3c(char **__s , |
|
2643 |
__inline extern char __attribute__((__gnu_inline__)) *__strsep_3c(char **__s , |
| 2644 |
char __reject1 , |
|
2644 |
char __reject1 , |
| 2645 |
char __reject2 , |
|
2645 |
char __reject2 , |
| 2646 |
char __reject3 ) ; |
|
2646 |
char __reject3 ) ; |
| 2647 |
__inline extern char __attribute__((__gnu_inline__)) *__strsep_3c(char **__s , |
|
2647 |
__inline extern char __attribute__((__gnu_inline__)) *__strsep_3c(char **__s , |
| 2648 |
char __reject1 , |
|
2648 |
char __reject1 , |
| 2649 |
char __reject2 , |
|
2649 |
char __reject2 , |
| 2650 |
char __reject3 ) |
|
2650 |
char __reject3 ) |
| 2651 |
{ |
|
2651 |
{ |
| 2652 |
register char *__retval ; |
|
2652 |
register char *__retval ; |
| 2653 |
register char *__cp ; |
|
2653 |
register char *__cp ; |
| 2654 |
char *tmp ; |
|
2654 |
char *tmp ; |
| 2655 |
|
|
2655 |
|
| 2656 |
{ |
|
2656 |
{ |
| 2657 |
__retval = *__s; |
|
2657 |
__retval = *__s; |
| 2658 |
if ((unsigned int )__retval != (unsigned int )((void *)0)) { |
|
2658 |
if ((unsigned int )__retval != (unsigned int )((void *)0)) { |
| 2659 |
__cp = __retval; |
|
2659 |
__cp = __retval; |
| 2660 |
while (1) { |
|
2660 |
while (1) { |
| 2661 |
if ((int )*__cp == 0) { |
|
2661 |
if ((int )*__cp == 0) { |
| 2662 |
__cp = (char *)((void *)0); |
|
2662 |
__cp = (char *)((void *)0); |
| 2663 |
break; |
|
2663 |
break; |
| 2664 |
} else { |
|
2664 |
} else { |
| 2665 |
|
|
2665 |
|
| 2666 |
} |
|
2666 |
} |
| 2667 |
if ((int )*__cp == (int )__reject1) { |
|
2667 |
if ((int )*__cp == (int )__reject1) { |
| 2668 |
tmp = __cp; |
|
2668 |
tmp = __cp; |
| 2669 |
__cp ++; |
|
2669 |
__cp ++; |
| 2670 |
*tmp = (char )'\000'; |
|
2670 |
*tmp = (char )'\000'; |
| 2671 |
break; |
|
2671 |
break; |
| 2672 |
} else |
|
2672 |
} else |
| 2673 |
if ((int )*__cp == (int )__reject2) { |
|
2673 |
if ((int )*__cp == (int )__reject2) { |
| 2674 |
tmp = __cp; |
|
2674 |
tmp = __cp; |
| 2675 |
__cp ++; |
|
2675 |
__cp ++; |
| 2676 |
*tmp = (char )'\000'; |
|
2676 |
*tmp = (char )'\000'; |
| 2677 |
break; |
|
2677 |
break; |
| 2678 |
} else |
|
2678 |
} else |
| 2679 |
if ((int )*__cp == (int )__reject3) { |
|
2679 |
if ((int )*__cp == (int )__reject3) { |
| 2680 |
tmp = __cp; |
|
2680 |
tmp = __cp; |
| 2681 |
__cp ++; |
|
2681 |
__cp ++; |
| 2682 |
*tmp = (char )'\000'; |
|
2682 |
*tmp = (char )'\000'; |
| 2683 |
break; |
|
2683 |
break; |
| 2684 |
} else { |
|
2684 |
} else { |
| 2685 |
|
|
2685 |
|
| 2686 |
} |
|
2686 |
} |
| 2687 |
__cp ++; |
|
2687 |
__cp ++; |
| 2688 |
} |
|
2688 |
} |
| 2689 |
*__s = __cp; |
|
2689 |
*__s = __cp; |
| 2690 |
} else { |
|
2690 |
} else { |
| 2691 |
|
|
2691 |
|
| 2692 |
} |
|
2692 |
} |
| 2693 |
return ((char __attribute__((__gnu_inline__)) *)__retval); |
|
2693 |
return ((char __attribute__((__gnu_inline__)) *)__retval); |
| 2694 |
} |
|
2694 |
} |
| 2695 |
} |
|
2695 |
} |
| 2696 |
extern __attribute__((__nothrow__)) void *malloc(size_t __size ) __attribute__((__malloc__)) ; |
|
2696 |
extern __attribute__((__nothrow__)) void *malloc(size_t __size ) __attribute__((__malloc__)) ; |
| 2697 |
extern __attribute__((__nothrow__)) void *calloc(size_t __nmemb , |
|
2697 |
extern __attribute__((__nothrow__)) void *calloc(size_t __nmemb , |
| 2698 |
size_t __size ) __attribute__((__malloc__)) ; |
|
2698 |
size_t __size ) __attribute__((__malloc__)) ; |
| 2699 |
extern __attribute__((__nothrow__)) char *__strdup(char const *__string ) __attribute__((__malloc__)) ; |
|
2699 |
extern __attribute__((__nothrow__)) char *__strdup(char const *__string ) __attribute__((__malloc__)) ; |
| 2700 |
extern __attribute__((__nothrow__)) char *__strndup(char const *__string , |
|
2700 |
extern __attribute__((__nothrow__)) char *__strndup(char const *__string , |
| 2701 |
size_t __n ) __attribute__((__malloc__)) ; |
|
2701 |
size_t __n ) __attribute__((__malloc__)) ; |
| 2702 |
int method ; |
|
2702 |
int method ; |
| 2703 |
uch inbuf[32832] ; |
|
2703 |
uch inbuf[32832] ; |
| 2704 |
uch outbuf[18432] ; |
|
2704 |
uch outbuf[18432] ; |
| 2705 |
ush d_buf[32768] ; |
|
2705 |
ush d_buf[32768] ; |
| 2706 |
uch window[65536L] ; |
|
2706 |
uch window[65536L] ; |
| 2707 |
ush prev[1L << 16] ; |
|
2707 |
ush prev[1L << 16] ; |
| 2708 |
unsigned int insize ; |
|
2708 |
unsigned int insize ; |
| 2709 |
unsigned int inptr ; |
|
2709 |
unsigned int inptr ; |
| 2710 |
unsigned int outcnt ; |
|
2710 |
unsigned int outcnt ; |
| 2711 |
off_t bytes_in ; |
|
2711 |
off_t bytes_in ; |
| 2712 |
off_t bytes_out ; |
|
2712 |
off_t bytes_out ; |
| 2713 |
extern off_t header_bytes ; |
|
2713 |
extern off_t header_bytes ; |
| 2714 |
int ifd ; |
|
2714 |
int ifd ; |
| 2715 |
int ofd ; |
|
2715 |
int ofd ; |
| 2716 |
char ifname[1024] ; |
|
2716 |
char ifname[1024] ; |
| 2717 |
char ofname[1024] ; |
|
2717 |
char ofname[1024] ; |
| 2718 |
char *program_name ; |
|
2718 |
char *program_name ; |
| 2719 |
struct timespec time_stamp ; |
|
2719 |
struct timespec time_stamp ; |
| 2720 |
off_t ifile_size ; |
|
2720 |
off_t ifile_size ; |
| 2721 |
extern int decrypt ; |
|
2721 |
extern int decrypt ; |
| 2722 |
int exit_code ; |
|
2722 |
int exit_code ; |
| 2723 |
int verbose ; |
|
2723 |
int verbose ; |
| 2724 |
int quiet ; |
|
2724 |
int quiet ; |
| 2725 |
int level ; |
|
2725 |
int level ; |
| 2726 |
int test ; |
|
2726 |
int test ; |
| 2727 |
int to_stdout ; |
|
2727 |
int to_stdout ; |
| 2728 |
int save_orig_name ; |
|
2728 |
int save_orig_name ; |
| 2729 |
extern int zip(int in , int out ) ; |
|
2729 |
extern int zip(int in , int out ) ; |
| 2730 |
extern int file_read(char *buf , unsigned int size ) ; |
|
2730 |
extern int file_read(char *buf , unsigned int size ) ; |
| 2731 |
extern int unzip(int in , int out ) ; |
|
2731 |
extern int unzip(int in , int out ) ; |
| 2732 |
extern int check_zipfile(int in ) ; |
|
2732 |
extern int check_zipfile(int in ) ; |
| 2733 |
extern int unpack(int in , int out ) ; |
|
2733 |
extern int unpack(int in , int out ) ; |
| 2734 |
extern int unlzh(int in , int out ) ; |
|
2734 |
extern int unlzh(int in , int out ) ; |
| 2735 |
__attribute__((__noreturn__)) void abort_gzip(void) ; |
|
2735 |
__attribute__((__noreturn__)) void abort_gzip(void) ; |
| 2736 |
extern void lm_init(int pack_level , ush *flags ) ; |
|
2736 |
extern void lm_init(int pack_level , ush *flags ) ; |
| 2737 |
extern off_t deflate(void) ; |
|
2737 |
extern off_t deflate(void) ; |
| 2738 |
extern void ct_init(ush *attr , int *method ) ; |
|
2738 |
extern void ct_init(ush *attr , int *method ) ; |
| 2739 |
extern int ct_tally(int dist , int lc ) ; |
|
2739 |
extern int ct_tally(int dist , int lc ) ; |
| 2740 |
extern off_t flush_block(char *buf , ulg stored_len , int eof ) ; |
|
2740 |
extern off_t flush_block(char *buf , ulg stored_len , int eof ) ; |
| 2741 |
extern void bi_init(file_t zipfile ) ; |
|
2741 |
extern void bi_init(file_t zipfile ) ; |
| 2742 |
extern void send_bits(int value , int length ) ; |
|
2742 |
extern void send_bits(int value , int length ) ; |
| 2743 |
extern unsigned int bi_reverse(unsigned int value , int length ) ; |
|
2743 |
extern unsigned int bi_reverse(unsigned int value , int length ) ; |
| 2744 |
extern void bi_windup(void) ; |
|
2744 |
extern void bi_windup(void) ; |
| 2745 |
extern void copy_block(char *buf , unsigned int len , int header ) ; |
|
2745 |
extern void copy_block(char *buf , unsigned int len , int header ) ; |
| 2746 |
extern int (*read_buf)(char *buf , unsigned int size ) ; |
|
2746 |
extern int (*read_buf)(char *buf , unsigned int size ) ; |
| 2747 |
extern int copy(int in , int out ) ; |
|
2747 |
extern int copy(int in , int out ) ; |
| 2748 |
extern ulg updcrc(uch *s , unsigned int n ) ; |
|
2748 |
extern ulg updcrc(uch *s , unsigned int n ) ; |
| 2749 |
extern void clear_bufs(void) ; |
|
2749 |
extern void clear_bufs(void) ; |
| 2750 |
extern int fill_inbuf(int eof_ok ) ; |
|
2750 |
extern int fill_inbuf(int eof_ok ) ; |
| 2751 |
extern void flush_outbuf(void) ; |
|
2751 |
extern void flush_outbuf(void) ; |
| 2752 |
extern void flush_window(void) ; |
|
2752 |
extern void flush_window(void) ; |
| 2753 |
extern void write_buf(int fd , voidp buf , unsigned int cnt ) ; |
|
2753 |
extern void write_buf(int fd , voidp buf , unsigned int cnt ) ; |
| 2754 |
extern int read_buffer(int fd , voidp buf , unsigned int cnt ) ; |
|
2754 |
extern int read_buffer(int fd , voidp buf , unsigned int cnt ) ; |
| 2755 |
extern char *strlwr(char *s ) ; |
|
2755 |
extern char *strlwr(char *s ) ; |
| 2756 |
extern char *gzip_base_name(char *fname ) ; |
|
2756 |
extern char *gzip_base_name(char *fname ) ; |
| 2757 |
extern int xunlink(char *fname ) ; |
|
2757 |
extern int xunlink(char *fname ) ; |
| 2758 |
extern void make_simple_name(char *name ) ; |
|
2758 |
extern void make_simple_name(char *name ) ; |
| 2759 |
extern char *add_envopt(int *argcp , char ***argvp , char *env ) ; |
|
2759 |
extern char *add_envopt(int *argcp , char ***argvp , char *env ) ; |
| 2760 |
extern __attribute__((__noreturn__)) void gzip_error(char *m ) ; |
|
2760 |
extern __attribute__((__noreturn__)) void gzip_error(char *m ) ; |
| 2761 |
extern __attribute__((__noreturn__)) void xalloc_die(void) ; |
|
2761 |
extern __attribute__((__noreturn__)) void xalloc_die(void) ; |
| 2762 |
extern void warning(char *m ) ; |
|
2762 |
extern void warning(char *m ) ; |
| 2763 |
extern void read_error(void) ; |
|
2763 |
extern void read_error(void) ; |
| 2764 |
extern void write_error(void) ; |
|
2764 |
extern void write_error(void) ; |
| 2765 |
extern void display_ratio(off_t num , off_t den , FILE *file ) ; |
|
2765 |
extern void display_ratio(off_t num , off_t den , FILE *file ) ; |
| 2766 |
extern void fprint_off(FILE * , off_t , int ) ; |
|
2766 |
extern void fprint_off(FILE * , off_t , int ) ; |
| 2767 |
extern int inflate(void) ; |
|
2767 |
extern int inflate(void) ; |
| 2768 |
extern int yesno(void) ; |
|
2768 |
extern int yesno(void) ; |
| 2769 |
int maxbits ; |
|
2769 |
int maxbits ; |
| 2770 |
extern int block_mode ; |
|
2770 |
extern int block_mode ; |
| 2771 |
extern int lzw(int in , int out ) ; |
|
2771 |
extern int lzw(int in , int out ) ; |
| 2772 |
extern int unlzw(int in , int out ) ; |
|
2772 |
extern int unlzw(int in , int out ) ; |
| 2773 |
extern int open_safer(char const * , int , ...) ; |
|
2773 |
extern int open_safer(char const * , int , ...) ; |
| 2774 |
extern int creat_safer(char const * , mode_t ) ; |
|
2774 |
extern int creat_safer(char const * , mode_t ) ; |
| 2775 |
extern char *optarg ; |
|
2775 |
extern char *optarg ; |
| 2776 |
extern int optind ; |
|
2776 |
extern int optind ; |
| 2777 |
extern int opterr ; |
|
2777 |
extern int opterr ; |
| 2778 |
extern int optopt ; |
|
2778 |
extern int optopt ; |
| 2779 |
extern __attribute__((__nothrow__)) int getopt(int ___argc , |
|
2779 |
extern __attribute__((__nothrow__)) int getopt(int ___argc , |
| 2780 |
char * const *___argv , |
|
2780 |
char * const *___argv , |
| 2781 |
char const *__shortopts ) ; |
|
2781 |
char const *__shortopts ) ; |
| 2782 |
extern __attribute__((__nothrow__)) int getopt_long(int ___argc , |
|
2782 |
extern __attribute__((__nothrow__)) int getopt_long(int ___argc , |
| 2783 |
char * const *___argv , |
|
2783 |
char * const *___argv , |
| 2784 |
char const *__shortopts , |
|
2784 |
char const *__shortopts , |
| 2785 |
struct option const *__longopts , |
|
2785 |
struct option const *__longopts , |
| 2786 |
int *__longind ) ; |
|
2786 |
int *__longind ) ; |
| 2787 |
extern __attribute__((__nothrow__)) int getopt_long_only(int ___argc , |
|
2787 |
extern __attribute__((__nothrow__)) int getopt_long_only(int ___argc , |
| 2788 |
char * const *___argv , |
|
2788 |
char * const *___argv , |
| 2789 |
char const *__shortopts , |
|
2789 |
char const *__shortopts , |
| 2790 |
struct option const *__longopts , |
|
2790 |
struct option const *__longopts , |
| 2791 |
int *__longind ) ; |
|
2791 |
int *__longind ) ; |
| 2792 |
__inline static long get_stat_atime_ns(struct stat const *st ) |
|
2792 |
__inline static long get_stat_atime_ns(struct stat const *st ) |
| 2793 |
{ |
|
2793 |
{ |
| 2794 |
|
|
2794 |
|
| 2795 |
|
|
2795 |
|
| 2796 |
{ |
|
2796 |
{ |
| 2797 |
return ((long )st->st_atim.tv_nsec); |
|
2797 |
return ((long )st->st_atim.tv_nsec); |
| 2798 |
} |
|
2798 |
} |
| 2799 |
} |
|
2799 |
} |
| 2800 |
__inline static long get_stat_ctime_ns(struct stat const *st ) |
|
2800 |
__inline static long get_stat_ctime_ns(struct stat const *st ) |
| 2801 |
{ |
|
2801 |
{ |
| 2802 |
|
|
2802 |
|
| 2803 |
|
|
2803 |
|
| 2804 |
{ |
|
2804 |
{ |
| 2805 |
return ((long )st->st_ctim.tv_nsec); |
|
2805 |
return ((long )st->st_ctim.tv_nsec); |
| 2806 |
} |
|
2806 |
} |
| 2807 |
} |
|
2807 |
} |
| 2808 |
__inline static long get_stat_mtime_ns(struct stat const *st ) |
|
2808 |
__inline static long get_stat_mtime_ns(struct stat const *st ) |
| 2809 |
{ |
|
2809 |
{ |
| 2810 |
|
|
2810 |
|
| 2811 |
|
|
2811 |
|
| 2812 |
{ |
|
2812 |
{ |
| 2813 |
return ((long )st->st_mtim.tv_nsec); |
|
2813 |
return ((long )st->st_mtim.tv_nsec); |
| 2814 |
} |
|
2814 |
} |
| 2815 |
} |
|
2815 |
} |
| 2816 |
__inline static long get_stat_birthtime_ns(struct stat const *st ) |
|
2816 |
__inline static long get_stat_birthtime_ns(struct stat const *st ) |
| 2817 |
{ |
|
2817 |
{ |
| 2818 |
|
|
2818 |
|
| 2819 |
|
|
2819 |
|
| 2820 |
{ |
|
2820 |
{ |
| 2821 |
return (0L); |
|
2821 |
return (0L); |
| 2822 |
} |
|
2822 |
} |
| 2823 |
} |
|
2823 |
} |
| 2824 |
__inline static struct timespec get_stat_atime(struct stat const *st ) |
|
2824 |
__inline static struct timespec get_stat_atime(struct stat const *st ) |
| 2825 |
{ |
|
2825 |
{ |
| 2826 |
|
|
2826 |
|
| 2827 |
|
|
2827 |
|
| 2828 |
{ |
|
2828 |
{ |
| 2829 |
return ((struct timespec )st->st_atim); |
|
2829 |
return ((struct timespec )st->st_atim); |
| 2830 |
} |
|
2830 |
} |
| 2831 |
} |
|
2831 |
} |
| 2832 |
__inline static struct timespec get_stat_ctime(struct stat const *st ) |
|
2832 |
__inline static struct timespec get_stat_ctime(struct stat const *st ) |
| 2833 |
{ |
|
2833 |
{ |
| 2834 |
|
|
2834 |
|
| 2835 |
|
|
2835 |
|
| 2836 |
{ |
|
2836 |
{ |
| 2837 |
return ((struct timespec )st->st_ctim); |
|
2837 |
return ((struct timespec )st->st_ctim); |
| 2838 |
} |
|
2838 |
} |
| 2839 |
} |
|
2839 |
} |
| 2840 |
__inline static struct timespec get_stat_mtime(struct stat const *st ) |
|
2840 |
__inline static struct timespec get_stat_mtime(struct stat const *st ) |
| 2841 |
{ |
|
2841 |
{ |
| 2842 |
|
|
2842 |
|
| 2843 |
|
|
2843 |
|
| 2844 |
{ |
|
2844 |
{ |
| 2845 |
return ((struct timespec )st->st_mtim); |
|
2845 |
return ((struct timespec )st->st_mtim); |
| 2846 |
} |
|
2846 |
} |
| 2847 |
} |
|
2847 |
} |
| 2848 |
__inline static struct timespec get_stat_birthtime(struct stat const *st ) |
|
2848 |
__inline static struct timespec get_stat_birthtime(struct stat const *st ) |
| 2849 |
{ |
|
2849 |
{ |
| 2850 |
struct timespec t ; |
|
2850 |
struct timespec t ; |
| 2851 |
|
|
2851 |
|
| 2852 |
{ |
|
2852 |
{ |
| 2853 |
t.tv_sec = (__time_t )-1; |
|
2853 |
t.tv_sec = (__time_t )-1; |
| 2854 |
t.tv_nsec = -1L; |
|
2854 |
t.tv_nsec = -1L; |
| 2855 |
return (t); |
|
2855 |
return (t); |
| 2856 |
} |
|
2856 |
} |
| 2857 |
} |
|
2857 |
} |
| 2858 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) access)(char const *__name , |
|
2858 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) access)(char const *__name , |
| 2859 |
int __type ) ; |
|
2859 |
int __type ) ; |
| 2860 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) euidaccess)(char const *__name , |
|
2860 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) euidaccess)(char const *__name , |
| 2861 |
int __type ) ; |
|
2861 |
int __type ) ; |
| 2862 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) eaccess)(char const *__name , |
|
2862 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) eaccess)(char const *__name , |
| 2863 |
int __type ) ; |
|
2863 |
int __type ) ; |
| 2864 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) faccessat)(int __fd , |
|
2864 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) faccessat)(int __fd , |
| 2865 |
char const *__file , |
|
2865 |
char const *__file , |
| 2866 |
int __type , |
|
2866 |
int __type , |
| 2867 |
int __flag ) ; |
|
2867 |
int __flag ) ; |
| 2868 |
extern __attribute__((__nothrow__)) __off64_t lseek(int __fd , |
|
2868 |
extern __attribute__((__nothrow__)) __off64_t lseek(int __fd , |
| 2869 |
__off64_t __offset , |
|
2869 |
__off64_t __offset , |
| 2870 |
int __whence ) __asm__("lseek64") ; |
|
2870 |
int __whence ) __asm__("lseek64") ; |
| 2871 |
extern __attribute__((__nothrow__)) __off64_t lseek64(int __fd , |
|
2871 |
extern __attribute__((__nothrow__)) __off64_t lseek64(int __fd , |
| 2872 |
__off64_t __offset , |
|
2872 |
__off64_t __offset , |
| 2873 |
int __whence ) ; |
|
2873 |
int __whence ) ; |
| 2874 |
extern int close(int __fd ) ; |
|
2874 |
extern int close(int __fd ) ; |
| 2875 |
extern ssize_t read(int __fd , void *__buf , size_t __nbytes ) ; |
|
2875 |
extern ssize_t read(int __fd , void *__buf , size_t __nbytes ) ; |
| 2876 |
extern ssize_t write(int __fd , void const *__buf , size_t __n ) ; |
|
2876 |
extern ssize_t write(int __fd , void const *__buf , size_t __n ) ; |
| 2877 |
extern ssize_t pread(int __fd , void *__buf , size_t __nbytes , |
|
2877 |
extern ssize_t pread(int __fd , void *__buf , size_t __nbytes , |
| 2878 |
__off64_t __offset ) __asm__("pread64") ; |
|
2878 |
__off64_t __offset ) __asm__("pread64") ; |
| 2879 |
extern ssize_t pwrite(int __fd , void const *__buf , size_t __nbytes , |
|
2879 |
extern ssize_t pwrite(int __fd , void const *__buf , size_t __nbytes , |
| 2880 |
__off64_t __offset ) __asm__("pwrite64") ; |
|
2880 |
__off64_t __offset ) __asm__("pwrite64") ; |
| 2881 |
extern ssize_t pread64(int __fd , void *__buf , size_t __nbytes , |
|
2881 |
extern ssize_t pread64(int __fd , void *__buf , size_t __nbytes , |
| 2882 |
__off64_t __offset ) ; |
|
2882 |
__off64_t __offset ) ; |
| 2883 |
extern ssize_t pwrite64(int __fd , void const *__buf , size_t __n , |
|
2883 |
extern ssize_t pwrite64(int __fd , void const *__buf , size_t __n , |
| 2884 |
__off64_t __offset ) ; |
|
2884 |
__off64_t __offset ) ; |
| 2885 |
extern __attribute__((__nothrow__)) int pipe(int *__pipedes ) ; |
|
2885 |
extern __attribute__((__nothrow__)) int pipe(int *__pipedes ) ; |
| 2886 |
extern __attribute__((__nothrow__)) int pipe2(int *__pipedes , int __flags ) ; |
|
2886 |
extern __attribute__((__nothrow__)) int pipe2(int *__pipedes , int __flags ) ; |
| 2887 |
extern __attribute__((__nothrow__)) unsigned int alarm(unsigned int __seconds ) ; |
|
2887 |
extern __attribute__((__nothrow__)) unsigned int alarm(unsigned int __seconds ) ; |
| 2888 |
extern unsigned int sleep(unsigned int __seconds ) ; |
|
2888 |
extern unsigned int sleep(unsigned int __seconds ) ; |
| 2889 |
extern __attribute__((__nothrow__)) __useconds_t ualarm(__useconds_t __value , |
|
2889 |
extern __attribute__((__nothrow__)) __useconds_t ualarm(__useconds_t __value , |
| 2890 |
__useconds_t __interval ) ; |
|
2890 |
__useconds_t __interval ) ; |
| 2891 |
extern int usleep(__useconds_t __useconds ) ; |
|
2891 |
extern int usleep(__useconds_t __useconds ) ; |
| 2892 |
extern int pause(void) ; |
|
2892 |
extern int pause(void) ; |
| 2893 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chown)(char const *__file , |
|
2893 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chown)(char const *__file , |
| 2894 |
__uid_t __owner , |
|
2894 |
__uid_t __owner , |
| 2895 |
__gid_t __group ) ; |
|
2895 |
__gid_t __group ) ; |
| 2896 |
extern __attribute__((__nothrow__)) int fchown(int __fd , __uid_t __owner , |
|
2896 |
extern __attribute__((__nothrow__)) int fchown(int __fd , __uid_t __owner , |
| 2897 |
__gid_t __group ) ; |
|
2897 |
__gid_t __group ) ; |
| 2898 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchown)(char const *__file , |
|
2898 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchown)(char const *__file , |
| 2899 |
__uid_t __owner , |
|
2899 |
__uid_t __owner , |
| 2900 |
__gid_t __group ) ; |
|
2900 |
__gid_t __group ) ; |
| 2901 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchownat)(int __fd , |
|
2901 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchownat)(int __fd , |
| 2902 |
char const *__file , |
|
2902 |
char const *__file , |
| 2903 |
__uid_t __owner , |
|
2903 |
__uid_t __owner , |
| 2904 |
__gid_t __group , |
|
2904 |
__gid_t __group , |
| 2905 |
int __flag ) ; |
|
2905 |
int __flag ) ; |
| 2906 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chdir)(char const *__path ) ; |
|
2906 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chdir)(char const *__path ) ; |
| 2907 |
extern __attribute__((__nothrow__)) int fchdir(int __fd ) ; |
|
2907 |
extern __attribute__((__nothrow__)) int fchdir(int __fd ) ; |
| 2908 |
extern __attribute__((__nothrow__)) char *getcwd(char *__buf , size_t __size ) ; |
|
2908 |
extern __attribute__((__nothrow__)) char *getcwd(char *__buf , size_t __size ) ; |
| 2909 |
extern __attribute__((__nothrow__)) char *get_current_dir_name(void) ; |
|
2909 |
extern __attribute__((__nothrow__)) char *get_current_dir_name(void) ; |
| 2910 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getwd)(char *__buf ) __attribute__((__deprecated__)) ; |
|
2910 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getwd)(char *__buf ) __attribute__((__deprecated__)) ; |
| 2911 |
extern __attribute__((__nothrow__)) int dup(int __fd ) ; |
|
2911 |
extern __attribute__((__nothrow__)) int dup(int __fd ) ; |
| 2912 |
extern __attribute__((__nothrow__)) int dup2(int __fd , int __fd2 ) ; |
|
2912 |
extern __attribute__((__nothrow__)) int dup2(int __fd , int __fd2 ) ; |
| 2913 |
extern __attribute__((__nothrow__)) int dup3(int __fd , int __fd2 , |
|
2913 |
extern __attribute__((__nothrow__)) int dup3(int __fd , int __fd2 , |
| 2914 |
int __flags ) ; |
|
2914 |
int __flags ) ; |
| 2915 |
extern char **__environ ; |
|
2915 |
extern char **__environ ; |
| 2916 |
extern char **environ ; |
|
2916 |
extern char **environ ; |
| 2917 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execve)(char const *__path , |
|
2917 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execve)(char const *__path , |
| 2918 |
char * const *__argv , |
|
2918 |
char * const *__argv , |
| 2919 |
char * const *__envp ) ; |
|
2919 |
char * const *__envp ) ; |
| 2920 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fexecve)(int __fd , |
|
2920 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fexecve)(int __fd , |
| 2921 |
char * const *__argv , |
|
2921 |
char * const *__argv , |
| 2922 |
char * const *__envp ) ; |
|
2922 |
char * const *__envp ) ; |
| 2923 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execv)(char const *__path , |
|
2923 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execv)(char const *__path , |
| 2924 |
char * const *__argv ) ; |
|
2924 |
char * const *__argv ) ; |
| 2925 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execle)(char const *__path , |
|
2925 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execle)(char const *__path , |
| 2926 |
char const *__arg |
|
2926 |
char const *__arg |
| 2927 |
, ...) ; |
|
2927 |
, ...) ; |
| 2928 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execl)(char const *__path , |
|
2928 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execl)(char const *__path , |
| 2929 |
char const *__arg |
|
2929 |
char const *__arg |
| 2930 |
, ...) ; |
|
2930 |
, ...) ; |
| 2931 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execvp)(char const *__file , |
|
2931 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execvp)(char const *__file , |
| 2932 |
char * const *__argv ) ; |
|
2932 |
char * const *__argv ) ; |
| 2933 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execlp)(char const *__file , |
|
2933 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execlp)(char const *__file , |
| 2934 |
char const *__arg |
|
2934 |
char const *__arg |
| 2935 |
, ...) ; |
|
2935 |
, ...) ; |
| 2936 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execvpe)(char const *__file , |
|
2936 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execvpe)(char const *__file , |
| 2937 |
char * const *__argv , |
|
2937 |
char * const *__argv , |
| 2938 |
char * const *__envp ) ; |
|
2938 |
char * const *__envp ) ; |
| 2939 |
extern __attribute__((__nothrow__)) int nice(int __inc ) ; |
|
2939 |
extern __attribute__((__nothrow__)) int nice(int __inc ) ; |
| 2940 |
extern __attribute__((__noreturn__)) void _exit(int __status ) ; |
|
2940 |
extern __attribute__((__noreturn__)) void _exit(int __status ) ; |
| 2941 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) pathconf)(char const *__path , |
|
2941 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) pathconf)(char const *__path , |
| 2942 |
int __name ) ; |
|
2942 |
int __name ) ; |
| 2943 |
extern __attribute__((__nothrow__)) long fpathconf(int __fd , int __name ) ; |
|
2943 |
extern __attribute__((__nothrow__)) long fpathconf(int __fd , int __name ) ; |
| 2944 |
extern __attribute__((__nothrow__)) long sysconf(int __name ) ; |
|
2944 |
extern __attribute__((__nothrow__)) long sysconf(int __name ) ; |
| 2945 |
extern __attribute__((__nothrow__)) size_t confstr(int __name , char *__buf , |
|
2945 |
extern __attribute__((__nothrow__)) size_t confstr(int __name , char *__buf , |
| 2946 |
size_t __len ) ; |
|
2946 |
size_t __len ) ; |
| 2947 |
extern __attribute__((__nothrow__)) __pid_t getpid(void) ; |
|
2947 |
extern __attribute__((__nothrow__)) __pid_t getpid(void) ; |
| 2948 |
extern __attribute__((__nothrow__)) __pid_t getppid(void) ; |
|
2948 |
extern __attribute__((__nothrow__)) __pid_t getppid(void) ; |
| 2949 |
extern __attribute__((__nothrow__)) __pid_t getpgrp(void) ; |
|
2949 |
extern __attribute__((__nothrow__)) __pid_t getpgrp(void) ; |
| 2950 |
extern __attribute__((__nothrow__)) __pid_t __getpgid(__pid_t __pid ) ; |
|
2950 |
extern __attribute__((__nothrow__)) __pid_t __getpgid(__pid_t __pid ) ; |
| 2951 |
extern __attribute__((__nothrow__)) __pid_t getpgid(__pid_t __pid ) ; |
|
2951 |
extern __attribute__((__nothrow__)) __pid_t getpgid(__pid_t __pid ) ; |
| 2952 |
extern __attribute__((__nothrow__)) int setpgid(__pid_t __pid , __pid_t __pgid ) ; |
|
2952 |
extern __attribute__((__nothrow__)) int setpgid(__pid_t __pid , __pid_t __pgid ) ; |
| 2953 |
extern __attribute__((__nothrow__)) int setpgrp(void) ; |
|
2953 |
extern __attribute__((__nothrow__)) int setpgrp(void) ; |
| 2954 |
extern __attribute__((__nothrow__)) __pid_t setsid(void) ; |
|
2954 |
extern __attribute__((__nothrow__)) __pid_t setsid(void) ; |
| 2955 |
extern __attribute__((__nothrow__)) __pid_t getsid(__pid_t __pid ) ; |
|
2955 |
extern __attribute__((__nothrow__)) __pid_t getsid(__pid_t __pid ) ; |
| 2956 |
extern __attribute__((__nothrow__)) __uid_t getuid(void) ; |
|
2956 |
extern __attribute__((__nothrow__)) __uid_t getuid(void) ; |
| 2957 |
extern __attribute__((__nothrow__)) __uid_t geteuid(void) ; |
|
2957 |
extern __attribute__((__nothrow__)) __uid_t geteuid(void) ; |
| 2958 |
extern __attribute__((__nothrow__)) __gid_t getgid(void) ; |
|
2958 |
extern __attribute__((__nothrow__)) __gid_t getgid(void) ; |
| 2959 |
extern __attribute__((__nothrow__)) __gid_t getegid(void) ; |
|
2959 |
extern __attribute__((__nothrow__)) __gid_t getegid(void) ; |
| 2960 |
extern __attribute__((__nothrow__)) int getgroups(int __size , __gid_t *__list ) ; |
|
2960 |
extern __attribute__((__nothrow__)) int getgroups(int __size , __gid_t *__list ) ; |
| 2961 |
extern __attribute__((__nothrow__)) int group_member(__gid_t __gid ) ; |
|
2961 |
extern __attribute__((__nothrow__)) int group_member(__gid_t __gid ) ; |
| 2962 |
extern __attribute__((__nothrow__)) int setuid(__uid_t __uid ) ; |
|
2962 |
extern __attribute__((__nothrow__)) int setuid(__uid_t __uid ) ; |
| 2963 |
extern __attribute__((__nothrow__)) int setreuid(__uid_t __ruid , |
|
2963 |
extern __attribute__((__nothrow__)) int setreuid(__uid_t __ruid , |
| 2964 |
__uid_t __euid ) ; |
|
2964 |
__uid_t __euid ) ; |
| 2965 |
extern __attribute__((__nothrow__)) int seteuid(__uid_t __uid ) ; |
|
2965 |
extern __attribute__((__nothrow__)) int seteuid(__uid_t __uid ) ; |
| 2966 |
extern __attribute__((__nothrow__)) int setgid(__gid_t __gid ) ; |
|
2966 |
extern __attribute__((__nothrow__)) int setgid(__gid_t __gid ) ; |
| 2967 |
extern __attribute__((__nothrow__)) int setregid(__gid_t __rgid , |
|
2967 |
extern __attribute__((__nothrow__)) int setregid(__gid_t __rgid , |
| 2968 |
__gid_t __egid ) ; |
|
2968 |
__gid_t __egid ) ; |
| 2969 |
extern __attribute__((__nothrow__)) int setegid(__gid_t __gid ) ; |
|
2969 |
extern __attribute__((__nothrow__)) int setegid(__gid_t __gid ) ; |
| 2970 |
extern __attribute__((__nothrow__)) int getresuid(__uid_t *__ruid , |
|
2970 |
extern __attribute__((__nothrow__)) int getresuid(__uid_t *__ruid , |
| 2971 |
__uid_t *__euid , |
|
2971 |
__uid_t *__euid , |
| 2972 |
__uid_t *__suid ) ; |
|
2972 |
__uid_t *__suid ) ; |
| 2973 |
extern __attribute__((__nothrow__)) int getresgid(__gid_t *__rgid , |
|
2973 |
extern __attribute__((__nothrow__)) int getresgid(__gid_t *__rgid , |
| 2974 |
__gid_t *__egid , |
|
2974 |
__gid_t *__egid , |
| 2975 |
__gid_t *__sgid ) ; |
|
2975 |
__gid_t *__sgid ) ; |
| 2976 |
extern __attribute__((__nothrow__)) int setresuid(__uid_t __ruid , |
|
2976 |
extern __attribute__((__nothrow__)) int setresuid(__uid_t __ruid , |
| 2977 |
__uid_t __euid , |
|
2977 |
__uid_t __euid , |
| 2978 |
__uid_t __suid ) ; |
|
2978 |
__uid_t __suid ) ; |
| 2979 |
extern __attribute__((__nothrow__)) int setresgid(__gid_t __rgid , |
|
2979 |
extern __attribute__((__nothrow__)) int setresgid(__gid_t __rgid , |
| 2980 |
__gid_t __egid , |
|
2980 |
__gid_t __egid , |
| 2981 |
__gid_t __sgid ) ; |
|
2981 |
__gid_t __sgid ) ; |
| 2982 |
extern __attribute__((__nothrow__)) __pid_t fork(void) ; |
|
2982 |
extern __attribute__((__nothrow__)) __pid_t fork(void) ; |
| 2983 |
extern __attribute__((__nothrow__)) __pid_t vfork(void) ; |
|
2983 |
extern __attribute__((__nothrow__)) __pid_t vfork(void) ; |
| 2984 |
extern __attribute__((__nothrow__)) char *ttyname(int __fd ) ; |
|
2984 |
extern __attribute__((__nothrow__)) char *ttyname(int __fd ) ; |
| 2985 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) ttyname_r)(int __fd , |
|
2985 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) ttyname_r)(int __fd , |
| 2986 |
char *__buf , |
|
2986 |
char *__buf , |
| 2987 |
size_t __buflen ) ; |
|
2987 |
size_t __buflen ) ; |
| 2988 |
extern __attribute__((__nothrow__)) int isatty(int __fd ) ; |
|
2988 |
extern __attribute__((__nothrow__)) int isatty(int __fd ) ; |
| 2989 |
extern __attribute__((__nothrow__)) int ttyslot(void) ; |
|
2989 |
extern __attribute__((__nothrow__)) int ttyslot(void) ; |
| 2990 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) link)(char const *__from , |
|
2990 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) link)(char const *__from , |
| 2991 |
char const *__to ) ; |
|
2991 |
char const *__to ) ; |
| 2992 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) linkat)(int __fromfd , |
|
2992 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) linkat)(int __fromfd , |
| 2993 |
char const *__from , |
|
2993 |
char const *__from , |
| 2994 |
int __tofd , |
|
2994 |
int __tofd , |
| 2995 |
char const *__to , |
|
2995 |
char const *__to , |
| 2996 |
int __flags ) ; |
|
2996 |
int __flags ) ; |
| 2997 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) symlink)(char const *__from , |
|
2997 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) symlink)(char const *__from , |
| 2998 |
char const *__to ) ; |
|
2998 |
char const *__to ) ; |
| 2999 |
extern __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(1,2))) readlink)(char const * __restrict __path , |
|
2999 |
extern __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(1,2))) readlink)(char const * __restrict __path , |
| 3000 |
char * __restrict __buf , |
|
3000 |
char * __restrict __buf , |
| 3001 |
size_t __len ) ; |
|
3001 |
size_t __len ) ; |
| 3002 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) symlinkat)(char const *__from , |
|
3002 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) symlinkat)(char const *__from , |
| 3003 |
int __tofd , |
|
3003 |
int __tofd , |
| 3004 |
char const *__to ) ; |
|
3004 |
char const *__to ) ; |
| 3005 |
extern __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(2,3))) readlinkat)(int __fd , |
|
3005 |
extern __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(2,3))) readlinkat)(int __fd , |
| 3006 |
char const * __restrict __path , |
|
3006 |
char const * __restrict __path , |
| 3007 |
char * __restrict __buf , |
|
3007 |
char * __restrict __buf , |
| 3008 |
size_t __len ) ; |
|
3008 |
size_t __len ) ; |
| 3009 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unlink)(char const *__name ) ; |
|
3009 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unlink)(char const *__name ) ; |
| 3010 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) unlinkat)(int __fd , |
|
3010 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) unlinkat)(int __fd , |
| 3011 |
char const *__name , |
|
3011 |
char const *__name , |
| 3012 |
int __flag ) ; |
|
3012 |
int __flag ) ; |
| 3013 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rmdir)(char const *__path ) ; |
|
3013 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rmdir)(char const *__path ) ; |
| 3014 |
extern __attribute__((__nothrow__)) __pid_t tcgetpgrp(int __fd ) ; |
|
3014 |
extern __attribute__((__nothrow__)) __pid_t tcgetpgrp(int __fd ) ; |
| 3015 |
extern __attribute__((__nothrow__)) int tcsetpgrp(int __fd , __pid_t __pgrp_id ) ; |
|
3015 |
extern __attribute__((__nothrow__)) int tcsetpgrp(int __fd , __pid_t __pgrp_id ) ; |
| 3016 |
extern char *getlogin(void) ; |
|
3016 |
extern char *getlogin(void) ; |
| 3017 |
extern int ( __attribute__((__nonnull__(1))) getlogin_r)(char *__name , |
|
3017 |
extern int ( __attribute__((__nonnull__(1))) getlogin_r)(char *__name , |
| 3018 |
size_t __name_len ) ; |
|
3018 |
size_t __name_len ) ; |
| 3019 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setlogin)(char const *__name ) ; |
|
3019 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setlogin)(char const *__name ) ; |
| 3020 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gethostname)(char *__name , |
|
3020 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gethostname)(char *__name , |
| 3021 |
size_t __len ) ; |
|
3021 |
size_t __len ) ; |
| 3022 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sethostname)(char const *__name , |
|
3022 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sethostname)(char const *__name , |
| 3023 |
size_t __len ) ; |
|
3023 |
size_t __len ) ; |
| 3024 |
extern __attribute__((__nothrow__)) int sethostid(long __id ) ; |
|
3024 |
extern __attribute__((__nothrow__)) int sethostid(long __id ) ; |
| 3025 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getdomainname)(char *__name , |
|
3025 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getdomainname)(char *__name , |
| 3026 |
size_t __len ) ; |
|
3026 |
size_t __len ) ; |
| 3027 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setdomainname)(char const *__name , |
|
3027 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setdomainname)(char const *__name , |
| 3028 |
size_t __len ) ; |
|
3028 |
size_t __len ) ; |
| 3029 |
extern __attribute__((__nothrow__)) int vhangup(void) ; |
|
3029 |
extern __attribute__((__nothrow__)) int vhangup(void) ; |
| 3030 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) revoke)(char const *__file ) ; |
|
3030 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) revoke)(char const *__file ) ; |
| 3031 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) profil)(unsigned short *__sample_buffer , |
|
3031 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) profil)(unsigned short *__sample_buffer , |
| 3032 |
size_t __size , |
|
3032 |
size_t __size , |
| 3033 |
size_t __offset , |
|
3033 |
size_t __offset , |
| 3034 |
unsigned int __scale ) ; |
|
3034 |
unsigned int __scale ) ; |
| 3035 |
extern __attribute__((__nothrow__)) int acct(char const *__name ) ; |
|
3035 |
extern __attribute__((__nothrow__)) int acct(char const *__name ) ; |
| 3036 |
extern __attribute__((__nothrow__)) char *getusershell(void) ; |
|
3036 |
extern __attribute__((__nothrow__)) char *getusershell(void) ; |
| 3037 |
extern __attribute__((__nothrow__)) void endusershell(void) ; |
|
3037 |
extern __attribute__((__nothrow__)) void endusershell(void) ; |
| 3038 |
extern __attribute__((__nothrow__)) void setusershell(void) ; |
|
3038 |
extern __attribute__((__nothrow__)) void setusershell(void) ; |
| 3039 |
extern __attribute__((__nothrow__)) int daemon(int __nochdir , int __noclose ) ; |
|
3039 |
extern __attribute__((__nothrow__)) int daemon(int __nochdir , int __noclose ) ; |
| 3040 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chroot)(char const *__path ) ; |
|
3040 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chroot)(char const *__path ) ; |
| 3041 |
extern char *( __attribute__((__nonnull__(1))) getpass)(char const *__prompt ) ; |
|
3041 |
extern char *( __attribute__((__nonnull__(1))) getpass)(char const *__prompt ) ; |
| 3042 |
extern int fsync(int __fd ) ; |
|
3042 |
extern int fsync(int __fd ) ; |
| 3043 |
extern long gethostid(void) ; |
|
3043 |
extern long gethostid(void) ; |
| 3044 |
extern __attribute__((__nothrow__)) void sync(void) ; |
|
3044 |
extern __attribute__((__nothrow__)) void sync(void) ; |
| 3045 |
extern __attribute__((__nothrow__)) int getpagesize(void) __attribute__((__const__)) ; |
|
3045 |
extern __attribute__((__nothrow__)) int getpagesize(void) __attribute__((__const__)) ; |
| 3046 |
extern __attribute__((__nothrow__)) int getdtablesize(void) ; |
|
3046 |
extern __attribute__((__nothrow__)) int getdtablesize(void) ; |
| 3047 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) truncate)(char const *__file , |
|
3047 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) truncate)(char const *__file , |
| 3048 |
__off64_t __length ) __asm__("truncate64") ; |
|
3048 |
__off64_t __length ) __asm__("truncate64") ; |
| 3049 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) truncate64)(char const *__file , |
|
3049 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) truncate64)(char const *__file , |
| 3050 |
__off64_t __length ) ; |
|
3050 |
__off64_t __length ) ; |
| 3051 |
extern __attribute__((__nothrow__)) int ftruncate(int __fd , |
|
3051 |
extern __attribute__((__nothrow__)) int ftruncate(int __fd , |
| 3052 |
__off64_t __length ) __asm__("ftruncate64") ; |
|
3052 |
__off64_t __length ) __asm__("ftruncate64") ; |
| 3053 |
extern __attribute__((__nothrow__)) int ftruncate64(int __fd , |
|
3053 |
extern __attribute__((__nothrow__)) int ftruncate64(int __fd , |
| 3054 |
__off64_t __length ) ; |
|
3054 |
__off64_t __length ) ; |
| 3055 |
extern __attribute__((__nothrow__)) int brk(void *__addr ) ; |
|
3055 |
extern __attribute__((__nothrow__)) int brk(void *__addr ) ; |
| 3056 |
extern __attribute__((__nothrow__)) void *sbrk(intptr_t __delta ) ; |
|
3056 |
extern __attribute__((__nothrow__)) void *sbrk(intptr_t __delta ) ; |
| 3057 |
extern __attribute__((__nothrow__)) long syscall(long __sysno , ...) ; |
|
3057 |
extern __attribute__((__nothrow__)) long syscall(long __sysno , ...) ; |
| 3058 |
extern int lockf(int __fd , int __cmd , __off64_t __len ) __asm__("lockf64") ; |
|
3058 |
extern int lockf(int __fd , int __cmd , __off64_t __len ) __asm__("lockf64") ; |
| 3059 |
extern int lockf64(int __fd , int __cmd , __off64_t __len ) ; |
|
3059 |
extern int lockf64(int __fd , int __cmd , __off64_t __len ) ; |
| 3060 |
extern int fdatasync(int __fildes ) ; |
|
3060 |
extern int fdatasync(int __fildes ) ; |
| 3061 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) crypt)(char const *__key , |
|
3061 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) crypt)(char const *__key , |
| 3062 |
char const *__salt ) ; |
|
3062 |
char const *__salt ) ; |
| 3063 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) encrypt)(char *__block , |
|
3063 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) encrypt)(char *__block , |
| 3064 |
int __edflag ) ; |
|
3064 |
int __edflag ) ; |
| 3065 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) swab)(void const * __restrict __from , |
|
3065 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) swab)(void const * __restrict __from , |
| 3066 |
void * __restrict __to , |
|
3066 |
void * __restrict __to , |
| 3067 |
ssize_t __n ) ; |
|
3067 |
ssize_t __n ) ; |
| 3068 |
extern __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ; |
|
3068 |
extern __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ; |
| 3069 |
__inline extern __attribute__((__nothrow__)) double __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atof)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3069 |
__inline extern __attribute__((__nothrow__)) double __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atof)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3070 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atoi)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3070 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atoi)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3071 |
__inline extern __attribute__((__nothrow__)) long __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atol)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3071 |
__inline extern __attribute__((__nothrow__)) long __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atol)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3072 |
__inline extern __attribute__((__nothrow__)) long long __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atoll)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3072 |
__inline extern __attribute__((__nothrow__)) long long __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atoll)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3073 |
extern __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const * __restrict __nptr , |
|
3073 |
extern __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const * __restrict __nptr , |
| 3074 |
char ** __restrict __endptr ) ; |
|
3074 |
char ** __restrict __endptr ) ; |
| 3075 |
extern __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const * __restrict __nptr , |
|
3075 |
extern __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const * __restrict __nptr , |
| 3076 |
char ** __restrict __endptr ) ; |
|
3076 |
char ** __restrict __endptr ) ; |
| 3077 |
extern __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const * __restrict __nptr , |
|
3077 |
extern __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const * __restrict __nptr , |
| 3078 |
char ** __restrict __endptr ) ; |
|
3078 |
char ** __restrict __endptr ) ; |
| 3079 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const * __restrict __nptr , |
|
3079 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const * __restrict __nptr , |
| 3080 |
char ** __restrict __endptr , |
|
3080 |
char ** __restrict __endptr , |
| 3081 |
int __base ) ; |
|
3081 |
int __base ) ; |
| 3082 |
extern __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const * __restrict __nptr , |
|
3082 |
extern __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const * __restrict __nptr , |
| 3083 |
char ** __restrict __endptr , |
|
3083 |
char ** __restrict __endptr , |
| 3084 |
int __base ) ; |
|
3084 |
int __base ) ; |
| 3085 |
extern __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const * __restrict __nptr , |
|
3085 |
extern __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const * __restrict __nptr , |
| 3086 |
char ** __restrict __endptr , |
|
3086 |
char ** __restrict __endptr , |
| 3087 |
int __base ) ; |
|
3087 |
int __base ) ; |
| 3088 |
extern __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const * __restrict __nptr , |
|
3088 |
extern __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const * __restrict __nptr , |
| 3089 |
char ** __restrict __endptr , |
|
3089 |
char ** __restrict __endptr , |
| 3090 |
int __base ) ; |
|
3090 |
int __base ) ; |
| 3091 |
extern __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const * __restrict __nptr , |
|
3091 |
extern __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const * __restrict __nptr , |
| 3092 |
char ** __restrict __endptr , |
|
3092 |
char ** __restrict __endptr , |
| 3093 |
int __base ) ; |
|
3093 |
int __base ) ; |
| 3094 |
extern __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const * __restrict __nptr , |
|
3094 |
extern __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const * __restrict __nptr , |
| 3095 |
char ** __restrict __endptr , |
|
3095 |
char ** __restrict __endptr , |
| 3096 |
int __base ) ; |
|
3096 |
int __base ) ; |
| 3097 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1,4))) strtol_l)(char const * __restrict __nptr , |
|
3097 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1,4))) strtol_l)(char const * __restrict __nptr , |
| 3098 |
char ** __restrict __endptr , |
|
3098 |
char ** __restrict __endptr , |
| 3099 |
int __base , |
|
3099 |
int __base , |
| 3100 |
__locale_t __loc ) ; |
|
3100 |
__locale_t __loc ) ; |
| 3101 |
extern __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1,4))) strtoul_l)(char const * __restrict __nptr , |
|
3101 |
extern __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1,4))) strtoul_l)(char const * __restrict __nptr , |
| 3102 |
char ** __restrict __endptr , |
|
3102 |
char ** __restrict __endptr , |
| 3103 |
int __base , |
|
3103 |
int __base , |
| 3104 |
__locale_t __loc ) ; |
|
3104 |
__locale_t __loc ) ; |
| 3105 |
extern __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1,4))) strtoll_l)(char const * __restrict __nptr , |
|
3105 |
extern __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1,4))) strtoll_l)(char const * __restrict __nptr , |
| 3106 |
char ** __restrict __endptr , |
|
3106 |
char ** __restrict __endptr , |
| 3107 |
int __base , |
|
3107 |
int __base , |
| 3108 |
__locale_t __loc ) ; |
|
3108 |
__locale_t __loc ) ; |
| 3109 |
extern __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1,4))) strtoull_l)(char const * __restrict __nptr , |
|
3109 |
extern __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1,4))) strtoull_l)(char const * __restrict __nptr , |
| 3110 |
char ** __restrict __endptr , |
|
3110 |
char ** __restrict __endptr , |
| 3111 |
int __base , |
|
3111 |
int __base , |
| 3112 |
__locale_t __loc ) ; |
|
3112 |
__locale_t __loc ) ; |
| 3113 |
extern __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1,3))) strtod_l)(char const * __restrict __nptr , |
|
3113 |
extern __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1,3))) strtod_l)(char const * __restrict __nptr , |
| 3114 |
char ** __restrict __endptr , |
|
3114 |
char ** __restrict __endptr , |
| 3115 |
__locale_t __loc ) ; |
|
3115 |
__locale_t __loc ) ; |
| 3116 |
extern __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1,3))) strtof_l)(char const * __restrict __nptr , |
|
3116 |
extern __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1,3))) strtof_l)(char const * __restrict __nptr , |
| 3117 |
char ** __restrict __endptr , |
|
3117 |
char ** __restrict __endptr , |
| 3118 |
__locale_t __loc ) ; |
|
3118 |
__locale_t __loc ) ; |
| 3119 |
extern __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1,3))) strtold_l)(char const * __restrict __nptr , |
|
3119 |
extern __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1,3))) strtold_l)(char const * __restrict __nptr , |
| 3120 |
char ** __restrict __endptr , |
|
3120 |
char ** __restrict __endptr , |
| 3121 |
__locale_t __loc ) ; |
|
3121 |
__locale_t __loc ) ; |
| 3122 |
__inline extern __attribute__((__nothrow__)) double __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atof)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3122 |
__inline extern __attribute__((__nothrow__)) double __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atof)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3123 |
__inline extern double __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atof)(char const *__nptr ) |
|
3123 |
__inline extern double __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atof)(char const *__nptr ) |
| 3124 |
{ |
|
3124 |
{ |
| 3125 |
double tmp ; |
|
3125 |
double tmp ; |
| 3126 |
|
|
3126 |
|
| 3127 |
{ |
|
3127 |
{ |
| 3128 |
tmp = strtod((char const *)__nptr, |
|
3128 |
tmp = strtod((char const *)__nptr, |
| 3129 |
(char **)((char **)((void *)0))); |
|
3129 |
(char **)((char **)((void *)0))); |
| 3130 |
return ((double __attribute__((__gnu_inline__)) )tmp); |
|
3130 |
return ((double __attribute__((__gnu_inline__)) )tmp); |
| 3131 |
} |
|
3131 |
} |
| 3132 |
} |
|
3132 |
} |
| 3133 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atoi)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3133 |
__inline extern __attribute__((__nothrow__)) int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atoi)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3134 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atoi)(char const *__nptr ) |
|
3134 |
__inline extern int __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atoi)(char const *__nptr ) |
| 3135 |
{ |
|
3135 |
{ |
| 3136 |
long tmp ; |
|
3136 |
long tmp ; |
| 3137 |
|
|
3137 |
|
| 3138 |
{ |
|
3138 |
{ |
| 3139 |
tmp = strtol((char const *)__nptr, |
|
3139 |
tmp = strtol((char const *)__nptr, |
| 3140 |
(char **)((char **)((void *)0)), 10); |
|
3140 |
(char **)((char **)((void *)0)), 10); |
| 3141 |
return ((int __attribute__((__gnu_inline__)) )((int )tmp)); |
|
3141 |
return ((int __attribute__((__gnu_inline__)) )((int )tmp)); |
| 3142 |
} |
|
3142 |
} |
| 3143 |
} |
|
3143 |
} |
| 3144 |
__inline extern __attribute__((__nothrow__)) long __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atol)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3144 |
__inline extern __attribute__((__nothrow__)) long __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atol)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3145 |
__inline extern long __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atol)(char const *__nptr ) |
|
3145 |
__inline extern long __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atol)(char const *__nptr ) |
| 3146 |
{ |
|
3146 |
{ |
| 3147 |
long tmp ; |
|
3147 |
long tmp ; |
| 3148 |
|
|
3148 |
|
| 3149 |
{ |
|
3149 |
{ |
| 3150 |
tmp = strtol((char const *)__nptr, |
|
3150 |
tmp = strtol((char const *)__nptr, |
| 3151 |
(char **)((char **)((void *)0)), 10); |
|
3151 |
(char **)((char **)((void *)0)), 10); |
| 3152 |
return ((long __attribute__((__gnu_inline__)) )tmp); |
|
3152 |
return ((long __attribute__((__gnu_inline__)) )tmp); |
| 3153 |
} |
|
3153 |
} |
| 3154 |
} |
|
3154 |
} |
| 3155 |
__inline extern __attribute__((__nothrow__)) long long __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atoll)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3155 |
__inline extern __attribute__((__nothrow__)) long long __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atoll)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3156 |
__inline extern long long __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atoll)(char const *__nptr ) |
|
3156 |
__inline extern long long __attribute__((__gnu_inline__)) ( __attribute__((__nonnull__(1))) atoll)(char const *__nptr ) |
| 3157 |
{ |
|
3157 |
{ |
| 3158 |
long long tmp ; |
|
3158 |
long long tmp ; |
| 3159 |
|
|
3159 |
|
| 3160 |
{ |
|
3160 |
{ |
| 3161 |
tmp = strtoll((char const *)__nptr, |
|
3161 |
tmp = strtoll((char const *)__nptr, |
| 3162 |
(char **)((char **)((void *)0)), 10); |
|
3162 |
(char **)((char **)((void *)0)), 10); |
| 3163 |
return ((long long __attribute__((__gnu_inline__)) )tmp); |
|
3163 |
return ((long long __attribute__((__gnu_inline__)) )tmp); |
| 3164 |
} |
|
3164 |
} |
| 3165 |
} |
|
3165 |
} |
| 3166 |
extern __attribute__((__nothrow__)) char *l64a(long __n ) ; |
|
3166 |
extern __attribute__((__nothrow__)) char *l64a(long __n ) ; |
| 3167 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const *__s ) __attribute__((__pure__)) ; |
|
3167 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const *__s ) __attribute__((__pure__)) ; |
| 3168 |
extern __attribute__((__nothrow__)) long random(void) ; |
|
3168 |
extern __attribute__((__nothrow__)) long random(void) ; |
| 3169 |
extern __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ; |
|
3169 |
extern __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ; |
| 3170 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed , |
|
3170 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed , |
| 3171 |
char *__statebuf , |
|
3171 |
char *__statebuf , |
| 3172 |
size_t __statelen ) ; |
|
3172 |
size_t __statelen ) ; |
| 3173 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ; |
|
3173 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ; |
| 3174 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict __buf , |
|
3174 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict __buf , |
| 3175 |
int32_t * __restrict __result ) ; |
|
3175 |
int32_t * __restrict __result ) ; |
| 3176 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed , |
|
3176 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed , |
| 3177 |
struct random_data *__buf ) ; |
|
3177 |
struct random_data *__buf ) ; |
| 3178 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed , |
|
3178 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed , |
| 3179 |
char * __restrict __statebuf , |
|
3179 |
char * __restrict __statebuf , |
| 3180 |
size_t __statelen , |
|
3180 |
size_t __statelen , |
| 3181 |
struct random_data * __restrict __buf ) ; |
|
3181 |
struct random_data * __restrict __buf ) ; |
| 3182 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict __statebuf , |
|
3182 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict __statebuf , |
| 3183 |
struct random_data * __restrict __buf ) ; |
|
3183 |
struct random_data * __restrict __buf ) ; |
| 3184 |
extern __attribute__((__nothrow__)) int rand(void) ; |
|
3184 |
extern __attribute__((__nothrow__)) int rand(void) ; |
| 3185 |
extern __attribute__((__nothrow__)) void srand(unsigned int __seed ) ; |
|
3185 |
extern __attribute__((__nothrow__)) void srand(unsigned int __seed ) ; |
| 3186 |
extern __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ; |
|
3186 |
extern __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ; |
| 3187 |
extern __attribute__((__nothrow__)) double drand48(void) ; |
|
3187 |
extern __attribute__((__nothrow__)) double drand48(void) ; |
| 3188 |
extern __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ; |
|
3188 |
extern __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ; |
| 3189 |
extern __attribute__((__nothrow__)) long lrand48(void) ; |
|
3189 |
extern __attribute__((__nothrow__)) long lrand48(void) ; |
| 3190 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ; |
|
3190 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ; |
| 3191 |
extern __attribute__((__nothrow__)) long mrand48(void) ; |
|
3191 |
extern __attribute__((__nothrow__)) long mrand48(void) ; |
| 3192 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ; |
|
3192 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ; |
| 3193 |
extern __attribute__((__nothrow__)) void srand48(long __seedval ) ; |
|
3193 |
extern __attribute__((__nothrow__)) void srand48(long __seedval ) ; |
| 3194 |
extern __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ; |
|
3194 |
extern __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ; |
| 3195 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ; |
|
3195 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ; |
| 3196 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict __buffer , |
|
3196 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict __buffer , |
| 3197 |
double * __restrict __result ) ; |
|
3197 |
double * __restrict __result ) ; |
| 3198 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi , |
|
3198 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi , |
| 3199 |
struct drand48_data * __restrict __buffer , |
|
3199 |
struct drand48_data * __restrict __buffer , |
| 3200 |
double * __restrict __result ) ; |
|
3200 |
double * __restrict __result ) ; |
| 3201 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict __buffer , |
|
3201 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict __buffer , |
| 3202 |
long * __restrict __result ) ; |
|
3202 |
long * __restrict __result ) ; |
| 3203 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi , |
|
3203 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi , |
| 3204 |
struct drand48_data * __restrict __buffer , |
|
3204 |
struct drand48_data * __restrict __buffer , |
| 3205 |
long * __restrict __result ) ; |
|
3205 |
long * __restrict __result ) ; |
| 3206 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict __buffer , |
|
3206 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict __buffer , |
| 3207 |
long * __restrict __result ) ; |
|
3207 |
long * __restrict __result ) ; |
| 3208 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi , |
|
3208 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi , |
| 3209 |
struct drand48_data * __restrict __buffer , |
|
3209 |
struct drand48_data * __restrict __buffer , |
| 3210 |
long * __restrict __result ) ; |
|
3210 |
long * __restrict __result ) ; |
| 3211 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval , |
|
3211 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval , |
| 3212 |
struct drand48_data *__buffer ) ; |
|
3212 |
struct drand48_data *__buffer ) ; |
| 3213 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v , |
|
3213 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v , |
| 3214 |
struct drand48_data *__buffer ) ; |
|
3214 |
struct drand48_data *__buffer ) ; |
| 3215 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param , |
|
3215 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param , |
| 3216 |
struct drand48_data *__buffer ) ; |
|
3216 |
struct drand48_data *__buffer ) ; |
| 3217 |
extern __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr , |
|
3217 |
extern __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr , |
| 3218 |
size_t __size ) ; |
|
3218 |
size_t __size ) ; |
| 3219 |
extern __attribute__((__nothrow__)) void free(void *__ptr ) ; |
|
3219 |
extern __attribute__((__nothrow__)) void free(void *__ptr ) ; |
| 3220 |
extern __attribute__((__nothrow__)) void cfree(void *__ptr ) ; |
|
3220 |
extern __attribute__((__nothrow__)) void cfree(void *__ptr ) ; |
| 3221 |
extern __attribute__((__nothrow__)) void *alloca(size_t __size ) ; |
|
3221 |
extern __attribute__((__nothrow__)) void *alloca(size_t __size ) ; |
| 3222 |
extern __attribute__((__nothrow__)) void *valloc(size_t __size ) __attribute__((__malloc__)) ; |
|
3222 |
extern __attribute__((__nothrow__)) void *valloc(size_t __size ) __attribute__((__malloc__)) ; |
| 3223 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr , |
|
3223 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr , |
| 3224 |
size_t __alignment , |
|
3224 |
size_t __alignment , |
| 3225 |
size_t __size ) ; |
|
3225 |
size_t __size ) ; |
| 3226 |
extern __attribute__((__nothrow__, __noreturn__)) void abort(void) ; |
|
3226 |
extern __attribute__((__nothrow__, __noreturn__)) void abort(void) ; |
| 3227 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ; |
|
3227 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ; |
| 3228 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) at_quick_exit)(void (*__func)(void) ) ; |
|
3228 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) at_quick_exit)(void (*__func)(void) ) ; |
| 3229 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status , |
|
3229 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status , |
| 3230 |
void *__arg ) , |
|
3230 |
void *__arg ) , |
| 3231 |
void *__arg ) ; |
|
3231 |
void *__arg ) ; |
| 3232 |
extern __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ; |
|
3232 |
extern __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ; |
| 3233 |
extern __attribute__((__nothrow__, |
|
3233 |
extern __attribute__((__nothrow__, |
| 3234 |
__noreturn__)) void quick_exit(int __status ) ; |
|
3234 |
__noreturn__)) void quick_exit(int __status ) ; |
| 3235 |
extern __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ; |
|
3235 |
extern __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ; |
| 3236 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const *__name ) ; |
|
3236 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const *__name ) ; |
| 3237 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const *__name ) ; |
|
3237 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const *__name ) ; |
| 3238 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ; |
|
3238 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ; |
| 3239 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const *__name , |
|
3239 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const *__name , |
| 3240 |
char const *__value , |
|
3240 |
char const *__value , |
| 3241 |
int __replace ) ; |
|
3241 |
int __replace ) ; |
| 3242 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const *__name ) ; |
|
3242 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const *__name ) ; |
| 3243 |
extern __attribute__((__nothrow__)) int clearenv(void) ; |
|
3243 |
extern __attribute__((__nothrow__)) int clearenv(void) ; |
| 3244 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ; |
|
3244 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ; |
| 3245 |
extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template ) __asm__("mkstemp64") ; |
|
3245 |
extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template ) __asm__("mkstemp64") ; |
| 3246 |
extern int ( __attribute__((__nonnull__(1))) mkstemp64)(char *__template ) ; |
|
3246 |
extern int ( __attribute__((__nonnull__(1))) mkstemp64)(char *__template ) ; |
| 3247 |
extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template , |
|
3247 |
extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template , |
| 3248 |
int __suffixlen ) __asm__("mkstemps64") ; |
|
3248 |
int __suffixlen ) __asm__("mkstemps64") ; |
| 3249 |
extern int ( __attribute__((__nonnull__(1))) mkstemps64)(char *__template , |
|
3249 |
extern int ( __attribute__((__nonnull__(1))) mkstemps64)(char *__template , |
| 3250 |
int __suffixlen ) ; |
|
3250 |
int __suffixlen ) ; |
| 3251 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ; |
|
3251 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ; |
| 3252 |
extern int ( __attribute__((__nonnull__(1))) mkostemp)(char *__template , |
|
3252 |
extern int ( __attribute__((__nonnull__(1))) mkostemp)(char *__template , |
| 3253 |
int __flags ) __asm__("mkostemp64") ; |
|
3253 |
int __flags ) __asm__("mkostemp64") ; |
| 3254 |
extern int ( __attribute__((__nonnull__(1))) mkostemp64)(char *__template , |
|
3254 |
extern int ( __attribute__((__nonnull__(1))) mkostemp64)(char *__template , |
| 3255 |
int __flags ) ; |
|
3255 |
int __flags ) ; |
| 3256 |
extern int ( __attribute__((__nonnull__(1))) mkostemps)(char *__template , |
|
3256 |
extern int ( __attribute__((__nonnull__(1))) mkostemps)(char *__template , |
| 3257 |
int __suffixlen , |
|
3257 |
int __suffixlen , |
| 3258 |
int __flags ) __asm__("mkostemps64") ; |
|
3258 |
int __flags ) __asm__("mkostemps64") ; |
| 3259 |
extern int ( __attribute__((__nonnull__(1))) mkostemps64)(char *__template , |
|
3259 |
extern int ( __attribute__((__nonnull__(1))) mkostemps64)(char *__template , |
| 3260 |
int __suffixlen , |
|
3260 |
int __suffixlen , |
| 3261 |
int __flags ) ; |
|
3261 |
int __flags ) ; |
| 3262 |
extern int system(char const *__command ) ; |
|
3262 |
extern int system(char const *__command ) ; |
| 3263 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) canonicalize_file_name)(char const *__name ) ; |
|
3263 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) canonicalize_file_name)(char const *__name ) ; |
| 3264 |
extern __attribute__((__nothrow__)) char *realpath(char const * __restrict __name , |
|
3264 |
extern __attribute__((__nothrow__)) char *realpath(char const * __restrict __name , |
| 3265 |
char * __restrict __resolved ) ; |
|
3265 |
char * __restrict __resolved ) ; |
| 3266 |
extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const *__key , |
|
3266 |
extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const *__key , |
| 3267 |
void const *__base , |
|
3267 |
void const *__base , |
| 3268 |
size_t __nmemb , |
|
3268 |
size_t __nmemb , |
| 3269 |
size_t __size , |
|
3269 |
size_t __size , |
| 3270 |
int (*__compar)(void const * , |
|
3270 |
int (*__compar)(void const * , |
| 3271 |
void const * ) ) ; |
|
3271 |
void const * ) ) ; |
| 3272 |
extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base , |
|
3272 |
extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base , |
| 3273 |
size_t __nmemb , |
|
3273 |
size_t __nmemb , |
| 3274 |
size_t __size , |
|
3274 |
size_t __size , |
| 3275 |
int (*__compar)(void const * , |
|
3275 |
int (*__compar)(void const * , |
| 3276 |
void const * ) ) ; |
|
3276 |
void const * ) ) ; |
| 3277 |
extern void ( __attribute__((__nonnull__(1,4))) qsort_r)(void *__base , |
|
3277 |
extern void ( __attribute__((__nonnull__(1,4))) qsort_r)(void *__base , |
| 3278 |
size_t __nmemb , |
|
3278 |
size_t __nmemb , |
| 3279 |
size_t __size , |
|
3279 |
size_t __size , |
| 3280 |
int (*__compar)(void const * , |
|
3280 |
int (*__compar)(void const * , |
| 3281 |
void const * , |
|
3281 |
void const * , |
| 3282 |
void * ) , |
|
3282 |
void * ) , |
| 3283 |
void *__arg ) ; |
|
3283 |
void *__arg ) ; |
| 3284 |
extern __attribute__((__nothrow__)) int abs(int __x ) __attribute__((__const__)) ; |
|
3284 |
extern __attribute__((__nothrow__)) int abs(int __x ) __attribute__((__const__)) ; |
| 3285 |
extern __attribute__((__nothrow__)) long labs(long __x ) __attribute__((__const__)) ; |
|
3285 |
extern __attribute__((__nothrow__)) long labs(long __x ) __attribute__((__const__)) ; |
| 3286 |
extern __attribute__((__nothrow__)) long long llabs(long long __x ) __attribute__((__const__)) ; |
|
3286 |
extern __attribute__((__nothrow__)) long long llabs(long long __x ) __attribute__((__const__)) ; |
| 3287 |
extern __attribute__((__nothrow__)) div_t div(int __numer , int __denom ) __attribute__((__const__)) ; |
|
3287 |
extern __attribute__((__nothrow__)) div_t div(int __numer , int __denom ) __attribute__((__const__)) ; |
| 3288 |
extern __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom ) __attribute__((__const__)) ; |
|
3288 |
extern __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom ) __attribute__((__const__)) ; |
| 3289 |
extern __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer , |
|
3289 |
extern __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer , |
| 3290 |
long long __denom ) __attribute__((__const__)) ; |
|
3290 |
long long __denom ) __attribute__((__const__)) ; |
| 3291 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value , |
|
3291 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value , |
| 3292 |
int __ndigit , |
|
3292 |
int __ndigit , |
| 3293 |
int * __restrict __decpt , |
|
3293 |
int * __restrict __decpt , |
| 3294 |
int * __restrict __sign ) ; |
|
3294 |
int * __restrict __sign ) ; |
| 3295 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value , |
|
3295 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value , |
| 3296 |
int __ndigit , |
|
3296 |
int __ndigit , |
| 3297 |
int * __restrict __decpt , |
|
3297 |
int * __restrict __decpt , |
| 3298 |
int * __restrict __sign ) ; |
|
3298 |
int * __restrict __sign ) ; |
| 3299 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value , |
|
3299 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value , |
| 3300 |
int __ndigit , |
|
3300 |
int __ndigit , |
| 3301 |
char *__buf ) ; |
|
3301 |
char *__buf ) ; |
| 3302 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value , |
|
3302 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value , |
| 3303 |
int __ndigit , |
|
3303 |
int __ndigit , |
| 3304 |
int * __restrict __decpt , |
|
3304 |
int * __restrict __decpt , |
| 3305 |
int * __restrict __sign ) ; |
|
3305 |
int * __restrict __sign ) ; |
| 3306 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value , |
|
3306 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value , |
| 3307 |
int __ndigit , |
|
3307 |
int __ndigit , |
| 3308 |
int * __restrict __decpt , |
|
3308 |
int * __restrict __decpt , |
| 3309 |
int * __restrict __sign ) ; |
|
3309 |
int * __restrict __sign ) ; |
| 3310 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value , |
|
3310 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value , |
| 3311 |
int __ndigit , |
|
3311 |
int __ndigit , |
| 3312 |
char *__buf ) ; |
|
3312 |
char *__buf ) ; |
| 3313 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value , |
|
3313 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value , |
| 3314 |
int __ndigit , |
|
3314 |
int __ndigit , |
| 3315 |
int * __restrict __decpt , |
|
3315 |
int * __restrict __decpt , |
| 3316 |
int * __restrict __sign , |
|
3316 |
int * __restrict __sign , |
| 3317 |
char * __restrict __buf , |
|
3317 |
char * __restrict __buf , |
| 3318 |
size_t __len ) ; |
|
3318 |
size_t __len ) ; |
| 3319 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value , |
|
3319 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value , |
| 3320 |
int __ndigit , |
|
3320 |
int __ndigit , |
| 3321 |
int * __restrict __decpt , |
|
3321 |
int * __restrict __decpt , |
| 3322 |
int * __restrict __sign , |
|
3322 |
int * __restrict __sign , |
| 3323 |
char * __restrict __buf , |
|
3323 |
char * __restrict __buf , |
| 3324 |
size_t __len ) ; |
|
3324 |
size_t __len ) ; |
| 3325 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value , |
|
3325 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value , |
| 3326 |
int __ndigit , |
|
3326 |
int __ndigit , |
| 3327 |
int * __restrict __decpt , |
|
3327 |
int * __restrict __decpt , |
| 3328 |
int * __restrict __sign , |
|
3328 |
int * __restrict __sign , |
| 3329 |
char * __restrict __buf , |
|
3329 |
char * __restrict __buf , |
| 3330 |
size_t __len ) ; |
|
3330 |
size_t __len ) ; |
| 3331 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value , |
|
3331 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value , |
| 3332 |
int __ndigit , |
|
3332 |
int __ndigit , |
| 3333 |
int * __restrict __decpt , |
|
3333 |
int * __restrict __decpt , |
| 3334 |
int * __restrict __sign , |
|
3334 |
int * __restrict __sign , |
| 3335 |
char * __restrict __buf , |
|
3335 |
char * __restrict __buf , |
| 3336 |
size_t __len ) ; |
|
3336 |
size_t __len ) ; |
| 3337 |
extern __attribute__((__nothrow__)) int mblen(char const *__s , size_t __n ) ; |
|
3337 |
extern __attribute__((__nothrow__)) int mblen(char const *__s , size_t __n ) ; |
| 3338 |
extern __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict __pwc , |
|
3338 |
extern __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict __pwc , |
| 3339 |
char const * __restrict __s , |
|
3339 |
char const * __restrict __s , |
| 3340 |
size_t __n ) ; |
|
3340 |
size_t __n ) ; |
| 3341 |
extern __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ; |
|
3341 |
extern __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ; |
| 3342 |
extern __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict __pwcs , |
|
3342 |
extern __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict __pwcs , |
| 3343 |
char const * __restrict __s , |
|
3343 |
char const * __restrict __s , |
| 3344 |
size_t __n ) ; |
|
3344 |
size_t __n ) ; |
| 3345 |
extern __attribute__((__nothrow__)) size_t wcstombs(char * __restrict __s , |
|
3345 |
extern __attribute__((__nothrow__)) size_t wcstombs(char * __restrict __s , |
| 3346 |
wchar_t const * __restrict __pwcs , |
|
3346 |
wchar_t const * __restrict __pwcs , |
| 3347 |
size_t __n ) ; |
|
3347 |
size_t __n ) ; |
| 3348 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const *__response ) ; |
|
3348 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const *__response ) ; |
| 3349 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict __optionp , |
|
3349 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict __optionp , |
| 3350 |
char * const * __restrict __tokens , |
|
3350 |
char * const * __restrict __tokens , |
| 3351 |
char ** __restrict __valuep ) ; |
|
3351 |
char ** __restrict __valuep ) ; |
| 3352 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) setkey)(char const *__key ) ; |
|
3352 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) setkey)(char const *__key ) ; |
| 3353 |
extern int posix_openpt(int __oflag ) ; |
|
3353 |
extern int posix_openpt(int __oflag ) ; |
| 3354 |
extern __attribute__((__nothrow__)) int grantpt(int __fd ) ; |
|
3354 |
extern __attribute__((__nothrow__)) int grantpt(int __fd ) ; |
| 3355 |
extern __attribute__((__nothrow__)) int unlockpt(int __fd ) ; |
|
3355 |
extern __attribute__((__nothrow__)) int unlockpt(int __fd ) ; |
| 3356 |
extern __attribute__((__nothrow__)) char *ptsname(int __fd ) ; |
|
3356 |
extern __attribute__((__nothrow__)) char *ptsname(int __fd ) ; |
| 3357 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) ptsname_r)(int __fd , |
|
3357 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) ptsname_r)(int __fd , |
| 3358 |
char *__buf , |
|
3358 |
char *__buf , |
| 3359 |
size_t __buflen ) ; |
|
3359 |
size_t __buflen ) ; |
| 3360 |
extern int getpt(void) ; |
|
3360 |
extern int getpt(void) ; |
| 3361 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg , |
|
3361 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg , |
| 3362 |
int __nelem ) ; |
|
3362 |
int __nelem ) ; |
| 3363 |
extern __attribute__((__nothrow__)) ssize_t readahead(int __fd , |
|
3363 |
extern __attribute__((__nothrow__)) ssize_t readahead(int __fd , |
| 3364 |
__off64_t __offset , |
|
3364 |
__off64_t __offset , |
| 3365 |
size_t __count ) ; |
|
3365 |
size_t __count ) ; |
| 3366 |
extern int sync_file_range(int __fd , __off64_t __offset , __off64_t __count , |
|
3366 |
extern int sync_file_range(int __fd , __off64_t __offset , __off64_t __count , |
| 3367 |
unsigned int __flags ) ; |
|
3367 |
unsigned int __flags ) ; |
| 3368 |
extern ssize_t vmsplice(int __fdout , struct iovec const *__iov , |
|
3368 |
extern ssize_t vmsplice(int __fdout , struct iovec const *__iov , |
| 3369 |
size_t __count , unsigned int __flags ) ; |
|
3369 |
size_t __count , unsigned int __flags ) ; |
| 3370 |
extern ssize_t splice(int __fdin , __off64_t *__offin , int __fdout , |
|
3370 |
extern ssize_t splice(int __fdin , __off64_t *__offin , int __fdout , |
| 3371 |
__off64_t *__offout , size_t __len , unsigned int __flags ) ; |
|
3371 |
__off64_t *__offout , size_t __len , unsigned int __flags ) ; |
| 3372 |
extern ssize_t tee(int __fdin , int __fdout , size_t __len , |
|
3372 |
extern ssize_t tee(int __fdin , int __fdout , size_t __len , |
| 3373 |
unsigned int __flags ) ; |
|
3373 |
unsigned int __flags ) ; |
| 3374 |
extern int fallocate(int __fd , int __mode , __off64_t __offset , |
|
3374 |
extern int fallocate(int __fd , int __mode , __off64_t __offset , |
| 3375 |
__off64_t __len ) __asm__("fallocate64") ; |
|
3375 |
__off64_t __len ) __asm__("fallocate64") ; |
| 3376 |
extern int fallocate64(int __fd , int __mode , __off64_t __offset , |
|
3376 |
extern int fallocate64(int __fd , int __mode , __off64_t __offset , |
| 3377 |
__off64_t __len ) ; |
|
3377 |
__off64_t __len ) ; |
| 3378 |
extern int fcntl(int __fd , int __cmd , ...) ; |
|
3378 |
extern int fcntl(int __fd , int __cmd , ...) ; |
| 3379 |
extern int ( __attribute__((__nonnull__(1))) open)(char const *__file , |
|
3379 |
extern int ( __attribute__((__nonnull__(1))) open)(char const *__file , |
| 3380 |
int __oflag , ...) __asm__("open64") ; |
|
3380 |
int __oflag , ...) __asm__("open64") ; |
| 3381 |
extern int ( __attribute__((__nonnull__(1))) open64)(char const *__file , |
|
3381 |
extern int ( __attribute__((__nonnull__(1))) open64)(char const *__file , |
| 3382 |
int __oflag , ...) ; |
|
3382 |
int __oflag , ...) ; |
| 3383 |
extern int ( __attribute__((__nonnull__(2))) openat)(int __fd , |
|
3383 |
extern int ( __attribute__((__nonnull__(2))) openat)(int __fd , |
| 3384 |
char const *__file , |
|
3384 |
char const *__file , |
| 3385 |
int __oflag , ...) __asm__("openat64") ; |
|
3385 |
int __oflag , ...) __asm__("openat64") ; |
| 3386 |
extern int ( __attribute__((__nonnull__(2))) openat64)(int __fd , |
|
3386 |
extern int ( __attribute__((__nonnull__(2))) openat64)(int __fd , |
| 3387 |
char const *__file , |
|
3387 |
char const *__file , |
| 3388 |
int __oflag , ...) ; |
|
3388 |
int __oflag , ...) ; |
| 3389 |
extern int ( __attribute__((__nonnull__(1))) creat)(char const *__file , |
|
3389 |
extern int ( __attribute__((__nonnull__(1))) creat)(char const *__file , |
| 3390 |
__mode_t __mode ) __asm__("creat64") ; |
|
3390 |
__mode_t __mode ) __asm__("creat64") ; |
| 3391 |
extern int ( __attribute__((__nonnull__(1))) creat64)(char const *__file , |
|
3391 |
extern int ( __attribute__((__nonnull__(1))) creat64)(char const *__file , |
| 3392 |
__mode_t __mode ) ; |
|
3392 |
__mode_t __mode ) ; |
| 3393 |
extern __attribute__((__nothrow__)) int posix_fadvise(int __fd , |
|
3393 |
extern __attribute__((__nothrow__)) int posix_fadvise(int __fd , |
| 3394 |
__off64_t __offset , |
|
3394 |
__off64_t __offset , |
| 3395 |
__off64_t __len , |
|
3395 |
__off64_t __len , |
| 3396 |
int __advise ) __asm__("posix_fadvise64") ; |
|
3396 |
int __advise ) __asm__("posix_fadvise64") ; |
| 3397 |
extern __attribute__((__nothrow__)) int posix_fadvise64(int __fd , |
|
3397 |
extern __attribute__((__nothrow__)) int posix_fadvise64(int __fd , |
| 3398 |
__off64_t __offset , |
|
3398 |
__off64_t __offset , |
| 3399 |
__off64_t __len , |
|
3399 |
__off64_t __len , |
| 3400 |
int __advise ) ; |
|
3400 |
int __advise ) ; |
| 3401 |
extern int posix_fallocate(int __fd , __off64_t __offset , __off64_t __len ) __asm__("posix_fallocate64") ; |
|
3401 |
extern int posix_fallocate(int __fd , __off64_t __offset , __off64_t __len ) __asm__("posix_fallocate64") ; |
| 3402 |
extern int posix_fallocate64(int __fd , __off64_t __offset , __off64_t __len ) ; |
|
3402 |
extern int posix_fallocate64(int __fd , __off64_t __offset , __off64_t __len ) ; |
| 3403 |
extern DIR *( __attribute__((__nonnull__(1))) opendir)(char const *__name ) ; |
|
3403 |
extern DIR *( __attribute__((__nonnull__(1))) opendir)(char const *__name ) ; |
| 3404 |
extern DIR *fdopendir(int __fd ) ; |
|
3404 |
extern DIR *fdopendir(int __fd ) ; |
| 3405 |
extern int ( __attribute__((__nonnull__(1))) closedir)(DIR *__dirp ) ; |
|
3405 |
extern int ( __attribute__((__nonnull__(1))) closedir)(DIR *__dirp ) ; |
| 3406 |
extern struct dirent *( __attribute__((__nonnull__(1))) readdir)(DIR *__dirp ) __asm__("readdir64") ; |
|
3406 |
extern struct dirent *( __attribute__((__nonnull__(1))) readdir)(DIR *__dirp ) __asm__("readdir64") ; |
| 3407 |
extern struct dirent64 *( __attribute__((__nonnull__(1))) readdir64)(DIR *__dirp ) ; |
|
3407 |
extern struct dirent64 *( __attribute__((__nonnull__(1))) readdir64)(DIR *__dirp ) ; |
| 3408 |
extern int ( __attribute__((__nonnull__(1,2,3))) readdir_r)(DIR * __restrict __dirp , |
|
3408 |
extern int ( __attribute__((__nonnull__(1,2,3))) readdir_r)(DIR * __restrict __dirp , |
| 3409 |
struct dirent * __restrict __entry , |
|
3409 |
struct dirent * __restrict __entry , |
| 3410 |
struct dirent ** __restrict __result ) __asm__("readdir64_r") ; |
|
3410 |
struct dirent ** __restrict __result ) __asm__("readdir64_r") ; |
| 3411 |
extern int ( __attribute__((__nonnull__(1,2,3))) readdir64_r)(DIR * __restrict __dirp , |
|
3411 |
extern int ( __attribute__((__nonnull__(1,2,3))) readdir64_r)(DIR * __restrict __dirp , |
| 3412 |
struct dirent64 * __restrict __entry , |
|
3412 |
struct dirent64 * __restrict __entry , |
| 3413 |
struct dirent64 ** __restrict __result ) ; |
|
3413 |
struct dirent64 ** __restrict __result ) ; |
| 3414 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) rewinddir)(DIR *__dirp ) ; |
|
3414 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) rewinddir)(DIR *__dirp ) ; |
| 3415 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) seekdir)(DIR *__dirp , |
|
3415 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) seekdir)(DIR *__dirp , |
| 3416 |
long __pos ) ; |
|
3416 |
long __pos ) ; |
| 3417 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) telldir)(DIR *__dirp ) ; |
|
3417 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) telldir)(DIR *__dirp ) ; |
| 3418 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) dirfd)(DIR *__dirp ) ; |
|
3418 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) dirfd)(DIR *__dirp ) ; |
| 3419 |
extern int ( __attribute__((__nonnull__(1,2))) scandir)(char const * __restrict __dir , |
|
3419 |
extern int ( __attribute__((__nonnull__(1,2))) scandir)(char const * __restrict __dir , |
| 3420 |
struct dirent *** __restrict __namelist , |
|
3420 |
struct dirent *** __restrict __namelist , |
| 3421 |
int (*__selector)(struct dirent const * ) , |
|
3421 |
int (*__selector)(struct dirent const * ) , |
| 3422 |
int (*__cmp)(struct dirent const ** , |
|
3422 |
int (*__cmp)(struct dirent const ** , |
| 3423 |
struct dirent const ** ) ) __asm__("scandir64") ; |
|
3423 |
struct dirent const ** ) ) __asm__("scandir64") ; |
| 3424 |
extern int ( __attribute__((__nonnull__(1,2))) scandir64)(char const * __restrict __dir , |
|
3424 |
extern int ( __attribute__((__nonnull__(1,2))) scandir64)(char const * __restrict __dir , |
| 3425 |
struct dirent64 *** __restrict __namelist , |
|
3425 |
struct dirent64 *** __restrict __namelist , |
| 3426 |
int (*__selector)(struct dirent64 const * ) , |
|
3426 |
int (*__selector)(struct dirent64 const * ) , |
| 3427 |
int (*__cmp)(struct dirent64 const ** , |
|
3427 |
int (*__cmp)(struct dirent64 const ** , |
| 3428 |
struct dirent64 const ** ) ) ; |
|
3428 |
struct dirent64 const ** ) ) ; |
| 3429 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) alphasort)(struct dirent const **__e1 , |
|
3429 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) alphasort)(struct dirent const **__e1 , |
| 3430 |
struct dirent const **__e2 ) __asm__("alphasort64") __attribute__((__pure__)) ; |
|
3430 |
struct dirent const **__e2 ) __asm__("alphasort64") __attribute__((__pure__)) ; |
| 3431 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) alphasort64)(struct dirent64 const **__e1 , |
|
3431 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) alphasort64)(struct dirent64 const **__e1 , |
| 3432 |
struct dirent64 const **__e2 ) __attribute__((__pure__)) ; |
|
3432 |
struct dirent64 const **__e2 ) __attribute__((__pure__)) ; |
| 3433 |
extern __attribute__((__nothrow__)) __ssize_t ( __attribute__((__nonnull__(2,4))) getdirentries)(int __fd , |
|
3433 |
extern __attribute__((__nothrow__)) __ssize_t ( __attribute__((__nonnull__(2,4))) getdirentries)(int __fd , |
| 3434 |
char * __restrict __buf , |
|
3434 |
char * __restrict __buf , |
| 3435 |
size_t __nbytes , |
|
3435 |
size_t __nbytes , |
| 3436 |
__off64_t * __restrict __basep ) __asm__("getdirentries64") ; |
|
3436 |
__off64_t * __restrict __basep ) __asm__("getdirentries64") ; |
| 3437 |
extern __attribute__((__nothrow__)) __ssize_t ( __attribute__((__nonnull__(2,4))) getdirentries64)(int __fd , |
|
3437 |
extern __attribute__((__nothrow__)) __ssize_t ( __attribute__((__nonnull__(2,4))) getdirentries64)(int __fd , |
| 3438 |
char * __restrict __buf , |
|
3438 |
char * __restrict __buf , |
| 3439 |
size_t __nbytes , |
|
3439 |
size_t __nbytes , |
| 3440 |
__off64_t * __restrict __basep ) ; |
|
3440 |
__off64_t * __restrict __basep ) ; |
| 3441 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) versionsort)(struct dirent const **__e1 , |
|
3441 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) versionsort)(struct dirent const **__e1 , |
| 3442 |
struct dirent const **__e2 ) __asm__("versionsort64") __attribute__((__pure__)) ; |
|
3442 |
struct dirent const **__e2 ) __asm__("versionsort64") __attribute__((__pure__)) ; |
| 3443 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) versionsort64)(struct dirent64 const **__e1 , |
|
3443 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) versionsort64)(struct dirent64 const **__e1 , |
| 3444 |
struct dirent64 const **__e2 ) __attribute__((__pure__)) ; |
|
3444 |
struct dirent64 const **__e2 ) __attribute__((__pure__)) ; |
| 3445 |
extern int gl_futimens(int , char const * , struct timespec const * ) ; |
|
3445 |
extern int gl_futimens(int , char const * , struct timespec const * ) ; |
| 3446 |
extern int utimens(char const * , struct timespec const * ) ; |
|
3446 |
extern int utimens(char const * , struct timespec const * ) ; |
| 3447 |
int ascii = 0; |
|
3447 |
int ascii = 0; |
| 3448 |
int to_stdout = 0; |
|
3448 |
int to_stdout = 0; |
| 3449 |
int decompress = 0; |
|
3449 |
int decompress = 0; |
| 3450 |
int force = 0; |
|
3450 |
int force = 0; |
| 3451 |
int no_name = -1; |
|
3451 |
int no_name = -1; |
| 3452 |
int no_time = -1; |
|
3452 |
int no_time = -1; |
| 3453 |
int recursive = 0; |
|
3453 |
int recursive = 0; |
| 3454 |
int list = 0; |
|
3454 |
int list = 0; |
| 3455 |
int verbose = 0; |
|
3455 |
int verbose = 0; |
| 3456 |
int quiet = 0; |
|
3456 |
int quiet = 0; |
| 3457 |
int do_lzw = 0; |
|
3457 |
int do_lzw = 0; |
| 3458 |
int test = 0; |
|
3458 |
int test = 0; |
| 3459 |
int foreground = 0; |
|
3459 |
int foreground = 0; |
| 3460 |
int maxbits = 16; |
|
3460 |
int maxbits = 16; |
| 3461 |
int method = 8; |
|
3461 |
int method = 8; |
| 3462 |
int level = 6; |
|
3462 |
int level = 6; |
| 3463 |
int exit_code = 0; |
|
3463 |
int exit_code = 0; |
| 3464 |
int last_member ; |
|
3464 |
int last_member ; |
| 3465 |
int part_nb ; |
|
3465 |
int part_nb ; |
| 3466 |
char *env ; |
|
3466 |
char *env ; |
| 3467 |
char **args = (char **)((void *)0); |
|
3467 |
char **args = (char **)((void *)0); |
| 3468 |
char *z_suffix ; |
|
3468 |
char *z_suffix ; |
| 3469 |
size_t z_len ; |
|
3469 |
size_t z_len ; |
| 3470 |
static sigset_t caught_signals ; |
|
3470 |
static sigset_t caught_signals ; |
| 3471 |
static int volatile exiting_signal ; |
|
3471 |
static int volatile exiting_signal ; |
| 3472 |
static int volatile remove_ofname_fd = (int volatile )-1; |
|
3472 |
static int volatile remove_ofname_fd = (int volatile )-1; |
| 3473 |
off_t total_in ; |
|
3473 |
off_t total_in ; |
| 3474 |
off_t total_out ; |
|
3474 |
off_t total_out ; |
| 3475 |
struct stat istat ; |
|
3475 |
struct stat istat ; |
| 3476 |
static int handled_sig[6] = { 2, 1, 13, 15, |
|
3476 |
static int handled_sig[6] = { 2, 1, 13, 15, |
| 3477 |
24, 25}; |
|
3477 |
24, 25}; |
| 3478 |
struct option longopts[24] = |
|
3478 |
struct option longopts[24] = |
| 3479 |
{ {"ascii", 0, (int *)0, 'a'}, |
|
3479 |
{ {"ascii", 0, (int *)0, 'a'}, |
| 3480 |
{"to-stdout", 0, (int *)0, 'c'}, |
|
3480 |
{"to-stdout", 0, (int *)0, 'c'}, |
| 3481 |
{"stdout", 0, (int *)0, 'c'}, |
|
3481 |
{"stdout", 0, (int *)0, 'c'}, |
| 3482 |
{"decompress", 0, (int *)0, 'd'}, |
|
3482 |
{"decompress", 0, (int *)0, 'd'}, |
| 3483 |
{"uncompress", 0, (int *)0, 'd'}, |
|
3483 |
{"uncompress", 0, (int *)0, 'd'}, |
| 3484 |
{"force", 0, (int *)0, 'f'}, |
|
3484 |
{"force", 0, (int *)0, 'f'}, |
| 3485 |
{"help", 0, (int *)0, 'h'}, |
|
3485 |
{"help", 0, (int *)0, 'h'}, |
| 3486 |
{"list", 0, (int *)0, 'l'}, |
|
3486 |
{"list", 0, (int *)0, 'l'}, |
| 3487 |
{"license", 0, (int *)0, 'L'}, |
|
3487 |
{"license", 0, (int *)0, 'L'}, |
| 3488 |
{"no-name", 0, (int *)0, 'n'}, |
|
3488 |
{"no-name", 0, (int *)0, 'n'}, |
| 3489 |
{"name", 0, (int *)0, 'N'}, |
|
3489 |
{"name", 0, (int *)0, 'N'}, |
| 3490 |
{"quiet", 0, (int *)0, 'q'}, |
|
3490 |
{"quiet", 0, (int *)0, 'q'}, |
| 3491 |
{"silent", 0, (int *)0, 'q'}, |
|
3491 |
{"silent", 0, (int *)0, 'q'}, |
| 3492 |
{"recursive", 0, (int *)0, 'r'}, |
|
3492 |
{"recursive", 0, (int *)0, 'r'}, |
| 3493 |
{"suffix", 1, (int *)0, 'S'}, |
|
3493 |
{"suffix", 1, (int *)0, 'S'}, |
| 3494 |
{"test", 0, (int *)0, 't'}, |
|
3494 |
{"test", 0, (int *)0, 't'}, |
| 3495 |
{"no-time", 0, (int *)0, 'T'}, |
|
3495 |
{"no-time", 0, (int *)0, 'T'}, |
| 3496 |
{"verbose", 0, (int *)0, 'v'}, |
|
3496 |
{"verbose", 0, (int *)0, 'v'}, |
| 3497 |
{"version", 0, (int *)0, 'V'}, |
|
3497 |
{"version", 0, (int *)0, 'V'}, |
| 3498 |
{"fast", 0, (int *)0, '1'}, |
|
3498 |
{"fast", 0, (int *)0, '1'}, |
| 3499 |
{"best", 0, (int *)0, '9'}, |
|
3499 |
{"best", 0, (int *)0, '9'}, |
| 3500 |
{"lzw", 0, (int *)0, 'Z'}, |
|
3500 |
{"lzw", 0, (int *)0, 'Z'}, |
| 3501 |
{"bits", 1, (int *)0, 'b'}, |
|
3501 |
{"bits", 1, (int *)0, 'b'}, |
| 3502 |
{(char const *)0, 0, (int *)0, 0}}; |
|
3502 |
{(char const *)0, 0, (int *)0, 0}}; |
| 3503 |
static __attribute__((__noreturn__)) void try_help(void) ; |
|
3503 |
static __attribute__((__noreturn__)) void try_help(void) ; |
| 3504 |
static void help(void) ; |
|
3504 |
static void help(void) ; |
| 3505 |
static void license(void) ; |
|
3505 |
static void license(void) ; |
| 3506 |
static void version(void) ; |
|
3506 |
static void version(void) ; |
| 3507 |
static int input_eof(void) ; |
|
3507 |
static int input_eof(void) ; |
| 3508 |
static void treat_stdin(void) ; |
|
3508 |
static void treat_stdin(void) ; |
| 3509 |
static void treat_file(char *iname ) ; |
|
3509 |
static void treat_file(char *iname ) ; |
| 3510 |
static int create_outfile(void) ; |
|
3510 |
static int create_outfile(void) ; |
| 3511 |
static char *get_suffix(char *name ) ; |
|
3511 |
static char *get_suffix(char *name ) ; |
| 3512 |
static int open_input_file(char *iname , struct stat *sbuf ) ; |
|
3512 |
static int open_input_file(char *iname , struct stat *sbuf ) ; |
| 3513 |
static int make_ofname(void) ; |
|
3513 |
static int make_ofname(void) ; |
| 3514 |
static void shorten_name(char *name ) ; |
|
3514 |
static void shorten_name(char *name ) ; |
| 3515 |
static int get_method(int in ) ; |
|
3515 |
static int get_method(int in ) ; |
| 3516 |
static void do_list(int ifd___0 , int method___0 ) ; |
|
3516 |
static void do_list(int ifd___0 , int method___0 ) ; |
| 3517 |
static int check_ofname(void) ; |
|
3517 |
static int check_ofname(void) ; |
| 3518 |
static void copy_stat(struct stat *ifstat ) ; |
|
3518 |
static void copy_stat(struct stat *ifstat ) ; |
| 3519 |
static void install_signal_handlers(void) ; |
|
3519 |
static void install_signal_handlers(void) ; |
| 3520 |
static void remove_output_file(void) ; |
|
3520 |
static void remove_output_file(void) ; |
| 3521 |
static void abort_gzip_signal(int sig ) ; |
|
3521 |
static void abort_gzip_signal(int sig ) ; |
| 3522 |
static __attribute__((__noreturn__)) void do_exit(int exitcode ) ; |
|
3522 |
static __attribute__((__noreturn__)) void do_exit(int exitcode ) ; |
| 3523 |
int main(int argc , char **argv ) ; |
|
3523 |
int main(int argc , char **argv ) ; |
| 3524 |
int (*work)(int infile , int outfile ) = & zip; |
|
3524 |
int (*work)(int infile , int outfile ) = & zip; |
| 3525 |
static void treat_dir(int fd , char *dir ) ; |
|
3525 |
static void treat_dir(int fd , char *dir ) ; |
| 3526 |
static __attribute__((__noreturn__)) void try_help(void) ; |
|
3526 |
static __attribute__((__noreturn__)) void try_help(void) ; |
| 3527 |
static void try_help(void) |
|
3527 |
static void try_help(void) |
| 3528 |
{ |
|
3528 |
{ |
| 3529 |
|
|
3529 |
|
| 3530 |
|
|
3530 |
|
| 3531 |
{ |
|
3531 |
{ |
| 3532 |
fprintf((FILE *)stderr, |
|
3532 |
fprintf((FILE *)stderr, |
| 3533 |
(char const *)"Try `%s --help\' for more information.\n", |
|
3533 |
(char const *)"Try `%s --help\' for more information.\n", |
| 3534 |
program_name); |
|
3534 |
program_name); |
| 3535 |
do_exit(1); |
|
3535 |
do_exit(1); |
| 3536 |
} |
|
3536 |
} |
| 3537 |
} |
|
3537 |
} |
| 3538 |
static void help(void) ; |
|
3538 |
static void help(void) ; |
| 3539 |
static char *help_msg[25] = |
|
3539 |
static char *help_msg[25] = |
| 3540 |
{ (char *)"Compress or uncompress FILEs (by default, compress FILES in-place).", (char *)"", (char *)"Mandatory arguments to long options are mandatory for short options too.", (char *)"", |
|
3540 |
{ (char *)"Compress or uncompress FILEs (by default, compress FILES in-place).", (char *)"", (char *)"Mandatory arguments to long options are mandatory for short options too.", (char *)"", |
| 3541 |
(char *)" -c, --stdout write on standard output, keep original files unchanged", (char *)" -d, --decompress decompress", (char *)" -f, --force force overwrite of output file and compress links", (char *)" -h, --help give this help", |
|
3541 |
(char *)" -c, --stdout write on standard output, keep original files unchanged", (char *)" -d, --decompress decompress", (char *)" -f, --force force overwrite of output file and compress links", (char *)" -h, --help give this help", |
| 3542 |
(char *)" -l, --list list compressed file contents", (char *)" -L, --license display software license", (char *)" -n, --no-name do not save or restore the original name and time stamp", (char *)" -N, --name save or restore the original name and time stamp", |
|
3542 |
(char *)" -l, --list list compressed file contents", (char *)" -L, --license display software license", (char *)" -n, --no-name do not save or restore the original name and time stamp", (char *)" -N, --name save or restore the original name and time stamp", |
| 3543 |
(char *)" -q, --quiet suppress all warnings", (char *)" -r, --recursive operate recursively on directories", (char *)" -S, --suffix=SUF use suffix SUF on compressed files", (char *)" -t, --test test compressed file integrity", |
|
3543 |
(char *)" -q, --quiet suppress all warnings", (char *)" -r, --recursive operate recursively on directories", (char *)" -S, --suffix=SUF use suffix SUF on compressed files", (char *)" -t, --test test compressed file integrity", |
| 3544 |
(char *)" -v, --verbose verbose mode", (char *)" -V, --version display version number", (char *)" -1, --fast compress faster", (char *)" -9, --best compress better", |
|
3544 |
(char *)" -v, --verbose verbose mode", (char *)" -V, --version display version number", (char *)" -1, --fast compress faster", (char *)" -9, --best compress better", |
| 3545 |
(char *)"", (char *)"With no FILE, or when FILE is -, read standard input.", (char *)"", (char *)"Report bugs to <bug-gzip@gnu.org>.", |
|
3545 |
(char *)"", (char *)"With no FILE, or when FILE is -, read standard input.", (char *)"", (char *)"Report bugs to <bug-gzip@gnu.org>.", |
| 3546 |
(char *)0}; |
|
3546 |
(char *)0}; |
| 3547 |
static void help(void) |
|
3547 |
static void help(void) |
| 3548 |
{ |
|
3548 |
{ |
| 3549 |
char **p ; |
|
3549 |
char **p ; |
| 3550 |
char **tmp ; |
|
3550 |
char **tmp ; |
| 3551 |
|
|
3551 |
|
| 3552 |
{ |
|
3552 |
{ |
| 3553 |
p = help_msg; |
|
3553 |
p = help_msg; |
| 3554 |
printf((char const *)"Usage: %s [OPTION]... [FILE]...\n", |
|
3554 |
printf((char const *)"Usage: %s [OPTION]... [FILE]...\n", |
| 3555 |
program_name); |
|
3555 |
program_name); |
| 3556 |
while (*p) { |
|
3556 |
while (*p) { |
| 3557 |
tmp = p; |
|
3557 |
tmp = p; |
| 3558 |
p ++; |
|
3558 |
p ++; |
| 3559 |
printf((char const *)"%s\n", *tmp); |
|
3559 |
printf((char const *)"%s\n", *tmp); |
| 3560 |
} |
|
3560 |
} |
| 3561 |
return; |
|
3561 |
return; |
| 3562 |
} |
|
3562 |
} |
| 3563 |
} |
|
3563 |
} |
| 3564 |
static void license(void) |
|
3564 |
static void license(void) |
| 3565 |
{ |
|
3565 |
{ |
| 3566 |
char **p ; |
|
3566 |
char **p ; |
| 3567 |
char **tmp ; |
|
3567 |
char **tmp ; |
| 3568 |
|
|
3568 |
|
| 3569 |
{ |
|
3569 |
{ |
| 3570 |
p = license_msg; |
|
3570 |
p = license_msg; |
| 3571 |
printf((char const *)"%s %s\n", program_name, |
|
3571 |
printf((char const *)"%s %s\n", program_name, |
| 3572 |
"1.3.12.37-a1d3"); |
|
3572 |
"1.3.12.37-a1d3"); |
| 3573 |
while (*p) { |
|
3573 |
while (*p) { |
| 3574 |
tmp = p; |
|
3574 |
tmp = p; |
| 3575 |
p ++; |
|
3575 |
p ++; |
| 3576 |
printf((char const *)"%s\n", *tmp); |
|
3576 |
printf((char const *)"%s\n", *tmp); |
| 3577 |
} |
|
3577 |
} |
| 3578 |
return; |
|
3578 |
return; |
| 3579 |
} |
|
3579 |
} |
| 3580 |
} |
|
3580 |
} |
| 3581 |
static void version(void) |
|
3581 |
static void version(void) |
| 3582 |
{ |
|
3582 |
{ |
| 3583 |
|
|
3583 |
|
| 3584 |
|
|
3584 |
|
| 3585 |
{ |
|
3585 |
{ |
| 3586 |
license(); |
|
3586 |
license(); |
| 3587 |
printf((char const *)"\n"); |
|
3587 |
printf((char const *)"\n"); |
| 3588 |
printf((char const *)"Written by Jean-loup Gailly.\n"); |
|
3588 |
printf((char const *)"Written by Jean-loup Gailly.\n"); |
| 3589 |
return; |
|
3589 |
return; |
| 3590 |
} |
|
3590 |
} |
| 3591 |
} |
|
3591 |
} |
| 3592 |
static void progerror(char *string ) |
|
3592 |
static void progerror(char *string ) |
| 3593 |
{ |
|
3593 |
{ |
| 3594 |
int e ; |
|
3594 |
int e ; |
| 3595 |
int *tmp ; |
|
3595 |
int *tmp ; |
| 3596 |
int *tmp___0 ; |
|
3596 |
int *tmp___0 ; |
| 3597 |
|
|
3597 |
|
| 3598 |
{ |
|
3598 |
{ |
| 3599 |
tmp = __errno_location(); |
|
3599 |
tmp = __errno_location(); |
| 3600 |
e = *tmp; |
|
3600 |
e = *tmp; |
| 3601 |
fprintf((FILE *)stderr, |
|
3601 |
fprintf((FILE *)stderr, |
| 3602 |
(char const *)"%s: ", program_name); |
|
3602 |
(char const *)"%s: ", program_name); |
| 3603 |
tmp___0 = __errno_location(); |
|
3603 |
tmp___0 = __errno_location(); |
| 3604 |
*tmp___0 = e; |
|
3604 |
*tmp___0 = e; |
| 3605 |
perror((char const *)string); |
|
3605 |
perror((char const *)string); |
| 3606 |
exit_code = 1; |
|
3606 |
exit_code = 1; |
| 3607 |
return; |
|
3607 |
return; |
| 3608 |
} |
|
3608 |
} |
| 3609 |
} |
|
3609 |
} |
| 3610 |
int main(int argc , char **argv ) |
|
3610 |
int main(int argc , char **argv ) |
| 3611 |
{ |
|
3611 |
{ |
| 3612 |
int file_count ; |
|
3612 |
int file_count ; |
| 3613 |
size_t proglen ; |
|
3613 |
size_t proglen ; |
| 3614 |
int optc ; |
|
3614 |
int optc ; |
| 3615 |
size_t __s1_len ; |
|
3615 |
size_t __s1_len ; |
| 3616 |
size_t __s2_len ; |
|
3616 |
size_t __s2_len ; |
| 3617 |
int tmp ; |
|
3617 |
int tmp ; |
| 3618 |
int tmp___0 ; |
|
3618 |
int tmp___0 ; |
| 3619 |
int tmp___1 ; |
|
3619 |
int tmp___1 ; |
| 3620 |
unsigned char const *__s2 ; |
|
3620 |
unsigned char const *__s2 ; |
| 3621 |
register int __result ; |
|
3621 |
register int __result ; |
| 3622 |
int tmp___2 ; |
|
3622 |
int tmp___2 ; |
| 3623 |
unsigned char const *__s1 ; |
|
3623 |
unsigned char const *__s1 ; |
| 3624 |
register int __result___0 ; |
|
3624 |
register int __result___0 ; |
| 3625 |
int tmp___3 ; |
|
3625 |
int tmp___3 ; |
| 3626 |
int tmp___4 ; |
|
3626 |
int tmp___4 ; |
| 3627 |
int tmp___5 ; |
|
3627 |
int tmp___5 ; |
| 3628 |
int __attribute__((__gnu_inline__)) tmp___6 ; |
|
3628 |
int __attribute__((__gnu_inline__)) tmp___6 ; |
| 3629 |
int tmp___7 ; |
|
3629 |
int tmp___7 ; |
| 3630 |
int tmp___8 ; |
|
3630 |
int tmp___8 ; |
| 3631 |
|
|
3631 |
|
| 3632 |
{ |
|
3632 |
{ |
| 3633 |
program_name = gzip_base_name(*(argv + 0)); |
|
3633 |
program_name = gzip_base_name(*(argv + 0)); |
| 3634 |
proglen = strlen((char const *)program_name); |
|
3634 |
proglen = strlen((char const *)program_name); |
| 3635 |
atexit(& close_stdin); |
|
3635 |
atexit(& close_stdin); |
| 3636 |
if (4U < proglen) { |
|
3636 |
if (4U < proglen) { |
| 3637 |
if (0) { |
|
3637 |
if (0) { |
| 3638 |
__s1_len = strlen((char const *)((program_name + proglen) - 4)); |
|
3638 |
__s1_len = strlen((char const *)((program_name + proglen) - 4)); |
| 3639 |
__s2_len = strlen(".exe"); |
|
3639 |
__s2_len = strlen(".exe"); |
| 3640 |
if (! ((size_t )((void const *)(((program_name + proglen) - 4) + 1)) - (size_t )((void const *)((program_name + proglen) - 4)) == 1U)) { |
|
3640 |
if (! ((size_t )((void const *)(((program_name + proglen) - 4) + 1)) - (size_t )((void const *)((program_name + proglen) - 4)) == 1U)) { |
| 3641 |
goto _L___0; |
|
3641 |
goto _L___0; |
| 3642 |
} else |
|
3642 |
} else |
| 3643 |
if (__s1_len >= 4U) { |
|
3643 |
if (__s1_len >= 4U) { |
| 3644 |
_L___0: |
|
3644 |
_L___0: |
| 3645 |
if (! ((size_t )((void const *)(".exe" + 1)) - (size_t )((void const *)".exe") == 1U)) { |
|
3645 |
if (! ((size_t )((void const *)(".exe" + 1)) - (size_t )((void const *)".exe") == 1U)) { |
| 3646 |
tmp___5 = 1; |
|
3646 |
tmp___5 = 1; |
| 3647 |
} else |
|
3647 |
} else |
| 3648 |
if (__s2_len >= 4U) { |
|
3648 |
if (__s2_len >= 4U) { |
| 3649 |
tmp___5 = 1; |
|
3649 |
tmp___5 = 1; |
| 3650 |
} else { |
|
3650 |
} else { |
| 3651 |
tmp___5 = 0; |
|
3651 |
tmp___5 = 0; |
| 3652 |
} |
|
3652 |
} |
| 3653 |
} else { |
|
3653 |
} else { |
| 3654 |
tmp___5 = 0; |
|
3654 |
tmp___5 = 0; |
| 3655 |
} |
|
3655 |
} |
| 3656 |
if (tmp___5) { |
|
3656 |
if (tmp___5) { |
| 3657 |
tmp___0 = __builtin_strcmp((char const *)((program_name + proglen) - 4), |
|
3657 |
tmp___0 = __builtin_strcmp((char const *)((program_name + proglen) - 4), |
| 3658 |
".exe"); |
|
3658 |
".exe"); |
| 3659 |
tmp___4 = tmp___0; |
|
3659 |
tmp___4 = tmp___0; |
| 3660 |
} else { |
|
3660 |
} else { |
| 3661 |
tmp___3 = __builtin_strcmp((char const *)((program_name + proglen) - 4), |
|
3661 |
tmp___3 = __builtin_strcmp((char const *)((program_name + proglen) - 4), |
| 3662 |
".exe"); |
|
3662 |
".exe"); |
| 3663 |
tmp___4 = tmp___3; |
|
3663 |
tmp___4 = tmp___3; |
| 3664 |
} |
|
3664 |
} |
| 3665 |
} else { |
|
3665 |
} else { |
| 3666 |
tmp___3 = __builtin_strcmp((char const *)((program_name + proglen) - 4), |
|
3666 |
tmp___3 = __builtin_strcmp((char const *)((program_name + proglen) - 4), |
| 3667 |
".exe"); |
|
3667 |
".exe"); |
| 3668 |
tmp___4 = tmp___3; |
|
3668 |
tmp___4 = tmp___3; |
| 3669 |
} |
|
3669 |
} |
| 3670 |
if (tmp___4 == 0) { |
|
3670 |
if (tmp___4 == 0) { |
| 3671 |
*(program_name + (proglen - 4U)) = (char )'\000'; |
|
3671 |
*(program_name + (proglen - 4U)) = (char )'\000'; |
| 3672 |
} else { |
|
3672 |
} else { |
| 3673 |
|
|
3673 |
|
| 3674 |
} |
|
3674 |
} |
| 3675 |
} else { |
|
3675 |
} else { |
| 3676 |
|
|
3676 |
|
| 3677 |
} |
|
3677 |
} |
| 3678 |
env = add_envopt(& argc, & argv, (char *)"GZIP"); |
|
3678 |
env = add_envopt(& argc, & argv, (char *)"GZIP"); |
| 3679 |
if ((unsigned int )env != (unsigned int )((void *)0)) { |
|
3679 |
if ((unsigned int )env != (unsigned int )((void *)0)) { |
| 3680 |
args = argv; |
|
3680 |
args = argv; |
| 3681 |
} else { |
|
3681 |
} else { |
| 3682 |
|
|
3682 |
|
| 3683 |
} |
|
3683 |
} |
| 3684 |
z_suffix = (char *)".gz"; |
|
3684 |
z_suffix = (char *)".gz"; |
| 3685 |
z_len = strlen((char const *)z_suffix); |
|
3685 |
z_len = strlen((char const *)z_suffix); |
| 3686 |
while (1) { |
|
3686 |
while (1) { |
| 3687 |
optc = getopt_long(argc, (char * const *)argv, |
|
3687 |
optc = getopt_long(argc, (char * const *)argv, |
| 3688 |
"ab:cdfhH?lLmMnNqrS:tvVZ123456789", |
|
3688 |
"ab:cdfhH?lLmMnNqrS:tvVZ123456789", |
| 3689 |
(struct option const *)(longopts), (int *)0); |
|
3689 |
(struct option const *)(longopts), (int *)0); |
| 3690 |
if (optc != -1) { |
|
3690 |
if (optc != -1) { |
| 3691 |
|
|
3691 |
|
| 3692 |
} else { |
|
3692 |
} else { |
| 3693 |
break; |
|
3693 |
break; |
| 3694 |
} |
|
3694 |
} |
| 3695 |
switch (optc) { |
|
3695 |
switch (optc) { |
| 3696 |
case 97: |
|
3696 |
case 97: |
| 3697 |
ascii = 1; |
|
3697 |
ascii = 1; |
| 3698 |
break; |
|
3698 |
break; |
| 3699 |
case 98: |
|
3699 |
case 98: |
| 3700 |
tmp___6 = atoi((char const *)optarg); |
|
3700 |
tmp___6 = atoi((char const *)optarg); |
| 3701 |
maxbits = (int )tmp___6; |
|
3701 |
maxbits = (int )tmp___6; |
| 3702 |
while (*optarg) { |
|
3702 |
while (*optarg) { |
| 3703 |
if (48 <= (int )*optarg) { |
|
3703 |
if (48 <= (int )*optarg) { |
| 3704 |
if ((int )*optarg <= 57) { |
|
3704 |
if ((int )*optarg <= 57) { |
| 3705 |
|
|
3705 |
|
| 3706 |
} else { |
|
3706 |
} else { |
| 3707 |
fprintf((FILE *)stderr, |
|
3707 |
fprintf((FILE *)stderr, |
| 3708 |
(char const *)"%s: -b operand is not an integer\n", |
|
3708 |
(char const *)"%s: -b operand is not an integer\n", |
| 3709 |
program_name); |
|
3709 |
program_name); |
| 3710 |
try_help(); |
|
3710 |
try_help(); |
| 3711 |
} |
|
3711 |
} |
| 3712 |
} else { |
|
3712 |
} else { |
| 3713 |
fprintf((FILE *)stderr, |
|
3713 |
fprintf((FILE *)stderr, |
| 3714 |
(char const *)"%s: -b operand is not an integer\n", |
|
3714 |
(char const *)"%s: -b operand is not an integer\n", |
| 3715 |
program_name); |
|
3715 |
program_name); |
| 3716 |
try_help(); |
|
3716 |
try_help(); |
| 3717 |
} |
|
3717 |
} |
| 3718 |
optarg ++; |
|
3718 |
optarg ++; |
| 3719 |
} |
|
3719 |
} |
| 3720 |
break; |
|
3720 |
break; |
| 3721 |
case 99: |
|
3721 |
case 99: |
| 3722 |
to_stdout = 1; |
|
3722 |
to_stdout = 1; |
| 3723 |
break; |
|
3723 |
break; |
| 3724 |
case 100: |
|
3724 |
case 100: |
| 3725 |
decompress = 1; |
|
3725 |
decompress = 1; |
| 3726 |
break; |
|
3726 |
break; |
| 3727 |
case 102: |
|
3727 |
case 102: |
| 3728 |
force ++; |
|
3728 |
force ++; |
| 3729 |
break; |
|
3729 |
break; |
| 3730 |
case 72: |
|
3730 |
case 72: |
| 3731 |
case 104: |
|
3731 |
case 104: |
| 3732 |
help(); |
|
3732 |
help(); |
| 3733 |
do_exit(0); |
|
3733 |
do_exit(0); |
| 3734 |
break; |
|
3734 |
break; |
| 3735 |
case 108: |
|
3735 |
case 108: |
| 3736 |
to_stdout = 1; |
|
3736 |
to_stdout = 1; |
| 3737 |
decompress = to_stdout; |
|
3737 |
decompress = to_stdout; |
| 3738 |
list = decompress; |
|
3738 |
list = decompress; |
| 3739 |
break; |
|
3739 |
break; |
| 3740 |
case 76: |
|
3740 |
case 76: |
| 3741 |
license(); |
|
3741 |
license(); |
| 3742 |
do_exit(0); |
|
3742 |
do_exit(0); |
| 3743 |
break; |
|
3743 |
break; |
| 3744 |
case 109: |
|
3744 |
case 109: |
| 3745 |
no_time = 1; |
|
3745 |
no_time = 1; |
| 3746 |
break; |
|
3746 |
break; |
| 3747 |
case 77: |
|
3747 |
case 77: |
| 3748 |
no_time = 0; |
|
3748 |
no_time = 0; |
| 3749 |
break; |
|
3749 |
break; |
| 3750 |
case 110: |
|
3750 |
case 110: |
| 3751 |
no_time = 1; |
|
3751 |
no_time = 1; |
| 3752 |
no_name = no_time; |
|
3752 |
no_name = no_time; |
| 3753 |
break; |
|
3753 |
break; |
| 3754 |
case 78: |
|
3754 |
case 78: |
| 3755 |
no_time = 0; |
|
3755 |
no_time = 0; |
| 3756 |
no_name = no_time; |
|
3756 |
no_name = no_time; |
| 3757 |
break; |
|
3757 |
break; |
| 3758 |
case 113: |
|
3758 |
case 113: |
| 3759 |
quiet = 1; |
|
3759 |
quiet = 1; |
| 3760 |
verbose = 0; |
|
3760 |
verbose = 0; |
| 3761 |
break; |
|
3761 |
break; |
| 3762 |
case 114: |
|
3762 |
case 114: |
| 3763 |
recursive = 1; |
|
3763 |
recursive = 1; |
| 3764 |
break; |
|
3764 |
break; |
| 3765 |
case 83: |
|
3765 |
case 83: |
| 3766 |
z_len = strlen((char const *)optarg); |
|
3766 |
z_len = strlen((char const *)optarg); |
| 3767 |
z_suffix = optarg; |
|
3767 |
z_suffix = optarg; |
| 3768 |
break; |
|
3768 |
break; |
| 3769 |
case 116: |
|
3769 |
case 116: |
| 3770 |
to_stdout = 1; |
|
3770 |
to_stdout = 1; |
| 3771 |
decompress = to_stdout; |
|
3771 |
decompress = to_stdout; |
| 3772 |
test = decompress; |
|
3772 |
test = decompress; |
| 3773 |
break; |
|
3773 |
break; |
| 3774 |
case 118: |
|
3774 |
case 118: |
| 3775 |
verbose ++; |
|
3775 |
verbose ++; |
| 3776 |
quiet = 0; |
|
3776 |
quiet = 0; |
| 3777 |
break; |
|
3777 |
break; |
| 3778 |
case 86: |
|
3778 |
case 86: |
| 3779 |
version(); |
|
3779 |
version(); |
| 3780 |
do_exit(0); |
|
3780 |
do_exit(0); |
| 3781 |
break; |
|
3781 |
break; |
| 3782 |
case 90: |
|
3782 |
case 90: |
| 3783 |
fprintf((FILE *)stderr, |
|
3783 |
fprintf((FILE *)stderr, |
| 3784 |
(char const *)"%s: -Z not supported in this version\n", |
|
3784 |
(char const *)"%s: -Z not supported in this version\n", |
| 3785 |
program_name); |
|
3785 |
program_name); |
| 3786 |
try_help(); |
|
3786 |
try_help(); |
| 3787 |
break; |
|
3787 |
break; |
| 3788 |
case 57: |
|
3788 |
case 57: |
| 3789 |
case 56: |
|
3789 |
case 56: |
| 3790 |
case 55: |
|
3790 |
case 55: |
| 3791 |
case 54: |
|
3791 |
case 54: |
| 3792 |
case 53: |
|
3792 |
case 53: |
| 3793 |
case 52: |
|
3793 |
case 52: |
| 3794 |
case 51: |
|
3794 |
case 51: |
| 3795 |
case 50: |
|
3795 |
case 50: |
| 3796 |
case 49: |
|
3796 |
case 49: |
| 3797 |
level = optc - 48; |
|
3797 |
level = optc - 48; |
| 3798 |
break; |
|
3798 |
break; |
| 3799 |
default: |
|
3799 |
default: |
| 3800 |
try_help(); |
|
3800 |
try_help(); |
| 3801 |
} |
|
3801 |
} |
| 3802 |
} |
|
3802 |
} |
| 3803 |
if (no_time < 0) { |
|
3803 |
if (no_time < 0) { |
| 3804 |
no_time = decompress; |
|
3804 |
no_time = decompress; |
| 3805 |
} else { |
|
3805 |
} else { |
| 3806 |
|
|
3806 |
|
| 3807 |
} |
|
3807 |
} |
| 3808 |
if (no_name < 0) { |
|
3808 |
if (no_name < 0) { |
| 3809 |
no_name = decompress; |
|
3809 |
no_name = decompress; |
| 3810 |
} else { |
|
3810 |
} else { |
| 3811 |
|
|
3811 |
|
| 3812 |
} |
|
3812 |
} |
| 3813 |
file_count = argc - optind; |
|
3813 |
file_count = argc - optind; |
| 3814 |
if (ascii) { |
|
3814 |
if (ascii) { |
| 3815 |
if (! quiet) { |
|
3815 |
if (! quiet) { |
| 3816 |
fprintf((FILE *)stderr, |
|
3816 |
fprintf((FILE *)stderr, |
| 3817 |
(char const *)"%s: option --ascii ignored on this system\n", |
|
3817 |
(char const *)"%s: option --ascii ignored on this system\n", |
| 3818 |
program_name); |
|
3818 |
program_name); |
| 3819 |
} else { |
|
3819 |
} else { |
| 3820 |
|
|
3820 |
|
| 3821 |
} |
|
3821 |
} |
| 3822 |
} else { |
|
3822 |
} else { |
| 3823 |
|
|
3823 |
|
| 3824 |
} |
|
3824 |
} |
| 3825 |
if (z_len == 0U) { |
|
3825 |
if (z_len == 0U) { |
| 3826 |
if (! decompress) { |
|
3826 |
if (! decompress) { |
| 3827 |
fprintf((FILE *)stderr, |
|
3827 |
fprintf((FILE *)stderr, |
| 3828 |
(char const *)"%s: incorrect suffix \'%s\'\n", |
|
3828 |
(char const *)"%s: incorrect suffix \'%s\'\n", |
| 3829 |
program_name, z_suffix); |
|
3829 |
program_name, z_suffix); |
| 3830 |
do_exit(1); |
|
3830 |
do_exit(1); |
| 3831 |
} else { |
|
3831 |
} else { |
| 3832 |
goto _L___1; |
|
3832 |
goto _L___1; |
| 3833 |
} |
|
3833 |
} |
| 3834 |
} else |
|
3834 |
} else |
| 3835 |
_L___1: |
|
3835 |
_L___1: |
| 3836 |
if (z_len > 30U) { |
|
3836 |
if (z_len > 30U) { |
| 3837 |
fprintf((FILE *)stderr, |
|
3837 |
fprintf((FILE *)stderr, |
| 3838 |
(char const *)"%s: incorrect suffix \'%s\'\n", |
|
3838 |
(char const *)"%s: incorrect suffix \'%s\'\n", |
| 3839 |
program_name, z_suffix); |
|
3839 |
program_name, z_suffix); |
| 3840 |
do_exit(1); |
|
3840 |
do_exit(1); |
| 3841 |
} else { |
|
3841 |
} else { |
| 3842 |
|
|
3842 |
|
| 3843 |
} |
|
3843 |
} |
| 3844 |
if (do_lzw) { |
|
3844 |
if (do_lzw) { |
| 3845 |
if (! decompress) { |
|
3845 |
if (! decompress) { |
| 3846 |
work = & lzw; |
|
3846 |
work = & lzw; |
| 3847 |
} else { |
|
3847 |
} else { |
| 3848 |
|
|
3848 |
|
| 3849 |
} |
|
3849 |
} |
| 3850 |
} else { |
|
3850 |
} else { |
| 3851 |
|
|
3851 |
|
| 3852 |
} |
|
3852 |
} |
| 3853 |
if (quiet) { |
|
3853 |
if (quiet) { |
| 3854 |
exiting_signal = (int volatile )13; |
|
3854 |
exiting_signal = (int volatile )13; |
| 3855 |
} else { |
|
3855 |
} else { |
| 3856 |
exiting_signal = (int volatile )0; |
|
3856 |
exiting_signal = (int volatile )0; |
| 3857 |
} |
|
3857 |
} |
| 3858 |
install_signal_handlers(); |
|
3858 |
install_signal_handlers(); |
| 3859 |
if (file_count != 0) { |
|
3859 |
if (file_count != 0) { |
| 3860 |
if (to_stdout) { |
|
3860 |
if (to_stdout) { |
| 3861 |
if (! test) { |
|
3861 |
if (! test) { |
| 3862 |
if (! list) { |
|
3862 |
if (! list) { |
| 3863 |
if (! decompress) { |
|
3863 |
if (! decompress) { |
| 3864 |
tmp___7 = 1; |
|
3864 |
tmp___7 = 1; |
| 3865 |
} else |
|
3865 |
} else |
| 3866 |
if (! ascii) { |
|
3866 |
if (! ascii) { |
| 3867 |
tmp___7 = 1; |
|
3867 |
tmp___7 = 1; |
| 3868 |
} else { |
|
3868 |
} else { |
| 3869 |
tmp___7 = 0; |
|
3869 |
tmp___7 = 0; |
| 3870 |
} |
|
3870 |
} |
| 3871 |
} else { |
|
3871 |
} else { |
| 3872 |
tmp___7 = 0; |
|
3872 |
tmp___7 = 0; |
| 3873 |
} |
|
3873 |
} |
| 3874 |
} else { |
|
3874 |
} else { |
| 3875 |
tmp___7 = 0; |
|
3875 |
tmp___7 = 0; |
| 3876 |
} |
|
3876 |
} |
| 3877 |
} else { |
|
3877 |
} else { |
| 3878 |
tmp___7 = 0; |
|
3878 |
tmp___7 = 0; |
| 3879 |
} |
|
3879 |
} |
| 3880 |
while (optind < argc) { |
|
3880 |
while (optind < argc) { |
| 3881 |
tmp___8 = optind; |
|
3881 |
tmp___8 = optind; |
| 3882 |
optind ++; |
|
3882 |
optind ++; |
| 3883 |
treat_file(*(argv + tmp___8)); |
|
3883 |
treat_file(*(argv + tmp___8)); |
| 3884 |
} |
|
3884 |
} |
| 3885 |
} else { |
|
3885 |
} else { |
| 3886 |
treat_stdin(); |
|
3886 |
treat_stdin(); |
| 3887 |
} |
|
3887 |
} |
| 3888 |
if (list) { |
|
3888 |
if (list) { |
| 3889 |
if (! quiet) { |
|
3889 |
if (! quiet) { |
| 3890 |
if (file_count > 1) { |
|
3890 |
if (file_count > 1) { |
| 3891 |
do_list(-1, -1); |
|
3891 |
do_list(-1, -1); |
| 3892 |
} else { |
|
3892 |
} else { |
| 3893 |
|
|
3893 |
|
| 3894 |
} |
|
3894 |
} |
| 3895 |
} else { |
|
3895 |
} else { |
| 3896 |
|
|
3896 |
|
| 3897 |
} |
|
3897 |
} |
| 3898 |
} else { |
|
3898 |
} else { |
| 3899 |
|
|
3899 |
|
| 3900 |
} |
|
3900 |
} |
| 3901 |
do_exit(exit_code); |
|
3901 |
do_exit(exit_code); |
| 3902 |
return (exit_code); |
|
3902 |
return (exit_code); |
| 3903 |
} |
|
3903 |
} |
| 3904 |
} |
|
3904 |
} |
| 3905 |
static int input_eof(void) |
|
3905 |
static int input_eof(void) |
| 3906 |
{ |
|
3906 |
{ |
| 3907 |
int tmp ; |
|
3907 |
int tmp ; |
| 3908 |
|
|
3908 |
|
| 3909 |
{ |
|
3909 |
{ |
| 3910 |
if (! decompress) { |
|
3910 |
if (! decompress) { |
| 3911 |
return (1); |
|
3911 |
return (1); |
| 3912 |
} else |
|
3912 |
} else |
| 3913 |
if (last_member) { |
|
3913 |
if (last_member) { |
| 3914 |
return (1); |
|
3914 |
return (1); |
| 3915 |
} else { |
|
3915 |
} else { |
| 3916 |
|
|
3916 |
|
| 3917 |
} |
|
3917 |
} |
| 3918 |
if (inptr == insize) { |
|
3918 |
if (inptr == insize) { |
| 3919 |
if (insize != 32768U) { |
|
3919 |
if (insize != 32768U) { |
| 3920 |
return (1); |
|
3920 |
return (1); |
| 3921 |
} else { |
|
3921 |
} else { |
| 3922 |
tmp = fill_inbuf(1); |
|
3922 |
tmp = fill_inbuf(1); |
| 3923 |
if (tmp == -1) { |
|
3923 |
if (tmp == -1) { |
| 3924 |
return (1); |
|
3924 |
return (1); |
| 3925 |
} else { |
|
3925 |
} else { |
| 3926 |
|
|
3926 |
|
| 3927 |
} |
|
3927 |
} |
| 3928 |
} |
|
3928 |
} |
| 3929 |
inptr = 0U; |
|
3929 |
inptr = 0U; |
| 3930 |
} else { |
|
3930 |
} else { |
| 3931 |
|
|
3931 |
|
| 3932 |
} |
|
3932 |
} |
| 3933 |
return (0); |
|
3933 |
return (0); |
| 3934 |
} |
|
3934 |
} |
| 3935 |
} |
|
3935 |
} |
| 3936 |
static void treat_stdin(void) |
|
3936 |
static void treat_stdin(void) |
| 3937 |
{ |
|
3937 |
{ |
| 3938 |
char const *tmp ; |
|
3938 |
char const *tmp ; |
| 3939 |
char const *tmp___0 ; |
|
3939 |
char const *tmp___0 ; |
| 3940 |
struct _IO_FILE *tmp___1 ; |
|
3940 |
struct _IO_FILE *tmp___1 ; |
| 3941 |
int tmp___2 ; |
|
3941 |
int tmp___2 ; |
| 3942 |
int tmp___3 ; |
|
3942 |
int tmp___3 ; |
| 3943 |
int tmp___4 ; |
|
3943 |
int tmp___4 ; |
| 3944 |
int tmp___5 ; |
|
3944 |
int tmp___5 ; |
| 3945 |
int tmp___6 ; |
|
3945 |
int tmp___6 ; |
| 3946 |
int __attribute__((__gnu_inline__)) tmp___7 ; |
|
3946 |
int __attribute__((__gnu_inline__)) tmp___7 ; |
| 3947 |
int tmp___8 ; |
|
3947 |
int tmp___8 ; |
| 3948 |
int tmp___9 ; |
|
3948 |
int tmp___9 ; |
| 3949 |
int tmp___10 ; |
|
3949 |
int tmp___10 ; |
| 3950 |
int tmp___11 ; |
|
3950 |
int tmp___11 ; |
| 3951 |
|
|
3951 |
|
| 3952 |
{ |
|
3952 |
{ |
| 3953 |
if (! force) { |
|
3953 |
if (! force) { |
| 3954 |
if (! list) { |
|
3954 |
if (! list) { |
| 3955 |
if (decompress) { |
|
3955 |
if (decompress) { |
| 3956 |
tmp___1 = stdin; |
|
3956 |
tmp___1 = stdin; |
| 3957 |
} else { |
|
3957 |
} else { |
| 3958 |
tmp___1 = stdout; |
|
3958 |
tmp___1 = stdout; |
| 3959 |
} |
|
3959 |
} |
| 3960 |
tmp___2 = fileno(tmp___1); |
|
3960 |
tmp___2 = fileno(tmp___1); |
| 3961 |
tmp___3 = isatty(tmp___2); |
|
3961 |
tmp___3 = isatty(tmp___2); |
| 3962 |
if (tmp___3) { |
|
3962 |
if (tmp___3) { |
| 3963 |
if (decompress) { |
|
3963 |
if (decompress) { |
| 3964 |
tmp = "de"; |
|
3964 |
tmp = "de"; |
| 3965 |
} else { |
|
3965 |
} else { |
| 3966 |
tmp = ""; |
|
3966 |
tmp = ""; |
| 3967 |
} |
|
3967 |
} |
| 3968 |
if (decompress) { |
|
3968 |
if (decompress) { |
| 3969 |
tmp___0 = "read from"; |
|
3969 |
tmp___0 = "read from"; |
| 3970 |
} else { |
|
3970 |
} else { |
| 3971 |
tmp___0 = "written to"; |
|
3971 |
tmp___0 = "written to"; |
| 3972 |
} |
|
3972 |
} |
| 3973 |
fprintf((FILE *)stderr, |
|
3973 |
fprintf((FILE *)stderr, |
| 3974 |
(char const *)"%s: compressed data not %s a terminal. Use -f to force %scompression.\n", |
|
3974 |
(char const *)"%s: compressed data not %s a terminal. Use -f to force %scompression.\n", |
| 3975 |
program_name, tmp___0, tmp); |
|
3975 |
program_name, tmp___0, tmp); |
| 3976 |
fprintf((FILE *)stderr, |
|
3976 |
fprintf((FILE *)stderr, |
| 3977 |
(char const *)"For help, type: %s -h\n", |
|
3977 |
(char const *)"For help, type: %s -h\n", |
| 3978 |
program_name); |
|
3978 |
program_name); |
| 3979 |
do_exit(1); |
|
3979 |
do_exit(1); |
| 3980 |
} else { |
|
3980 |
} else { |
| 3981 |
|
|
3981 |
|
| 3982 |
} |
|
3982 |
} |
| 3983 |
} else { |
|
3983 |
} else { |
| 3984 |
|
|
3984 |
|
| 3985 |
} |
|
3985 |
} |
| 3986 |
} else { |
|
3986 |
} else { |
| 3987 |
|
|
3987 |
|
| 3988 |
} |
|
3988 |
} |
| 3989 |
if (decompress) { |
|
3989 |
if (decompress) { |
| 3990 |
tmp___4 = 1; |
|
3990 |
tmp___4 = 1; |
| 3991 |
} else |
|
3991 |
} else |
| 3992 |
if (! ascii) { |
|
3992 |
if (! ascii) { |
| 3993 |
tmp___4 = 1; |
|
3993 |
tmp___4 = 1; |
| 3994 |
} else { |
|
3994 |
} else { |
| 3995 |
tmp___4 = 0; |
|
3995 |
tmp___4 = 0; |
| 3996 |
} |
|
3996 |
} |
| 3997 |
if (! test) { |
|
3997 |
if (! test) { |
| 3998 |
if (! list) { |
|
3998 |
if (! list) { |
| 3999 |
if (! decompress) { |
|
3999 |
if (! decompress) { |
| 4000 |
tmp___5 = 1; |
|
4000 |
tmp___5 = 1; |
| 4001 |
} else |
|
4001 |
} else |
| 4002 |
if (! ascii) { |
|
4002 |
if (! ascii) { |
| 4003 |
tmp___5 = 1; |
|
4003 |
tmp___5 = 1; |
| 4004 |
} else { |
|
4004 |
} else { |
| 4005 |
tmp___5 = 0; |
|
4005 |
tmp___5 = 0; |
| 4006 |
} |
|
4006 |
} |
| 4007 |
} else { |
|
4007 |
} else { |
| 4008 |
tmp___5 = 0; |
|
4008 |
tmp___5 = 0; |
| 4009 |
} |
|
4009 |
} |
| 4010 |
} else { |
|
4010 |
} else { |
| 4011 |
tmp___5 = 0; |
|
4011 |
tmp___5 = 0; |
| 4012 |
} |
|
4012 |
} |
| 4013 |
strcpy((char *)(ifname), |
|
4013 |
strcpy((char *)(ifname), |
| 4014 |
(char const *)"stdin"); |
|
4014 |
(char const *)"stdin"); |
| 4015 |
strcpy((char *)(ofname), |
|
4015 |
strcpy((char *)(ofname), |
| 4016 |
(char const *)"stdout"); |
|
4016 |
(char const *)"stdout"); |
| 4017 |
tmp___6 = fileno(stdin); |
|
4017 |
tmp___6 = fileno(stdin); |
| 4018 |
tmp___7 = fstat(tmp___6, & istat); |
|
4018 |
tmp___7 = fstat(tmp___6, & istat); |
| 4019 |
if (tmp___7 != (int __attribute__((__gnu_inline__)) )0) { |
|
4019 |
if (tmp___7 != (int __attribute__((__gnu_inline__)) )0) { |
| 4020 |
progerror((char *)"standard input"); |
|
4020 |
progerror((char *)"standard input"); |
| 4021 |
do_exit(1); |
|
4021 |
do_exit(1); |
| 4022 |
} else { |
|
4022 |
} else { |
| 4023 |
|
|
4023 |
|
| 4024 |
} |
|
4024 |
} |
| 4025 |
if ((istat.st_mode & 61440U) == 32768U) { |
|
4025 |
if ((istat.st_mode & 61440U) == 32768U) { |
| 4026 |
ifile_size = istat.st_size; |
|
4026 |
ifile_size = istat.st_size; |
| 4027 |
} else { |
|
4027 |
} else { |
| 4028 |
ifile_size = (off_t )-1; |
|
4028 |
ifile_size = (off_t )-1; |
| 4029 |
} |
|
4029 |
} |
| 4030 |
time_stamp.tv_nsec = -1L; |
|
4030 |
time_stamp.tv_nsec = -1L; |
| 4031 |
if (! no_time) { |
|
4031 |
if (! no_time) { |
| 4032 |
time_stamp = get_stat_mtime((struct stat const *)(& istat)); |
|
4032 |
time_stamp = get_stat_mtime((struct stat const *)(& istat)); |
| 4033 |
} else |
|
4033 |
} else |
| 4034 |
if (list) { |
|
4034 |
if (list) { |
| 4035 |
time_stamp = get_stat_mtime((struct stat const *)(& istat)); |
|
4035 |
time_stamp = get_stat_mtime((struct stat const *)(& istat)); |
| 4036 |
} else { |
|
4036 |
} else { |
| 4037 |
|
|
4037 |
|
| 4038 |
} |
|
4038 |
} |
| 4039 |
clear_bufs(); |
|
4039 |
clear_bufs(); |
| 4040 |
to_stdout = 1; |
|
4040 |
to_stdout = 1; |
| 4041 |
part_nb = 0; |
|
4041 |
part_nb = 0; |
| 4042 |
if (decompress) { |
|
4042 |
if (decompress) { |
| 4043 |
method = get_method(ifd); |
|
4043 |
method = get_method(ifd); |
| 4044 |
if (method < 0) { |
|
4044 |
if (method < 0) { |
| 4045 |
do_exit(exit_code); |
|
4045 |
do_exit(exit_code); |
| 4046 |
} else { |
|
4046 |
} else { |
| 4047 |
|
|
4047 |
|
| 4048 |
} |
|
4048 |
} |
| 4049 |
} else { |
|
4049 |
} else { |
| 4050 |
|
|
4050 |
|
| 4051 |
} |
|
4051 |
} |
| 4052 |
if (list) { |
|
4052 |
if (list) { |
| 4053 |
do_list(ifd, method); |
|
4053 |
do_list(ifd, method); |
| 4054 |
return; |
|
4054 |
return; |
| 4055 |
} else { |
|
4055 |
} else { |
| 4056 |
|
|
4056 |
|
| 4057 |
} |
|
4057 |
} |
| 4058 |
while (1) { |
|
4058 |
while (1) { |
| 4059 |
tmp___8 = fileno(stdout); |
|
4059 |
tmp___8 = fileno(stdout); |
| 4060 |
tmp___9 = fileno(stdin); |
|
4060 |
tmp___9 = fileno(stdin); |
| 4061 |
tmp___10 = (*work)(tmp___9, tmp___8); |
|
4061 |
tmp___10 = (*work)(tmp___9, tmp___8); |
| 4062 |
if (tmp___10 != 0) { |
|
4062 |
if (tmp___10 != 0) { |
| 4063 |
return; |
|
4063 |
return; |
| 4064 |
} else { |
|
4064 |
} else { |
| 4065 |
|
|
4065 |
|
| 4066 |
} |
|
4066 |
} |
| 4067 |
tmp___11 = input_eof(); |
|
4067 |
tmp___11 = input_eof(); |
| 4068 |
if (tmp___11) { |
|
4068 |
if (tmp___11) { |
| 4069 |
break; |
|
4069 |
break; |
| 4070 |
} else { |
|
4070 |
} else { |
| 4071 |
|
|
4071 |
|
| 4072 |
} |
|
4072 |
} |
| 4073 |
method = get_method(ifd); |
|
4073 |
method = get_method(ifd); |
| 4074 |
if (method < 0) { |
|
4074 |
if (method < 0) { |
| 4075 |
return; |
|
4075 |
return; |
| 4076 |
} else { |
|
4076 |
} else { |
| 4077 |
|
|
4077 |
|
| 4078 |
} |
|
4078 |
} |
| 4079 |
bytes_out = (off_t )0; |
|
4079 |
bytes_out = (off_t )0; |
| 4080 |
} |
|
4080 |
} |
| 4081 |
if (verbose) { |
|
4081 |
if (verbose) { |
| 4082 |
if (test) { |
|
4082 |
if (test) { |
| 4083 |
fprintf((FILE *)stderr, |
|
4083 |
fprintf((FILE *)stderr, |
| 4084 |
(char const *)" OK\n"); |
|
4084 |
(char const *)" OK\n"); |
| 4085 |
} else |
|
4085 |
} else |
| 4086 |
if (! decompress) { |
|
4086 |
if (! decompress) { |
| 4087 |
display_ratio(bytes_in - (bytes_out - header_bytes), bytes_in, stderr); |
|
4087 |
display_ratio(bytes_in - (bytes_out - header_bytes), bytes_in, stderr); |
| 4088 |
fprintf((FILE *)stderr, |
|
4088 |
fprintf((FILE *)stderr, |
| 4089 |
(char const *)"\n"); |
|
4089 |
(char const *)"\n"); |
| 4090 |
} else { |
|
4090 |
} else { |
| 4091 |
|
|
4091 |
|
| 4092 |
} |
|
4092 |
} |
| 4093 |
} else { |
|
4093 |
} else { |
| 4094 |
|
|
4094 |
|
| 4095 |
} |
|
4095 |
} |
| 4096 |
return; |
|
4096 |
return; |
| 4097 |
} |
|
4097 |
} |
| 4098 |
} |
|
4098 |
} |
| 4099 |
static void treat_file(char *iname ) |
|
4099 |
static void treat_file(char *iname ) |
| 4100 |
{ |
|
4100 |
{ |
| 4101 |
int cflag ; |
|
4101 |
int cflag ; |
| 4102 |
size_t __s1_len ; |
|
4102 |
size_t __s1_len ; |
| 4103 |
size_t __s2_len ; |
|
4103 |
size_t __s2_len ; |
| 4104 |
int tmp ; |
|
4104 |
int tmp ; |
| 4105 |
int tmp___0 ; |
|
4105 |
int tmp___0 ; |
| 4106 |
int tmp___1 ; |
|
4106 |
int tmp___1 ; |
| 4107 |
unsigned char const *__s2 ; |
|
4107 |
unsigned char const *__s2 ; |
| 4108 |
register int __result ; |
|
4108 |
register int __result ; |
| 4109 |
int tmp___2 ; |
|
4109 |
int tmp___2 ; |
| 4110 |
unsigned char const *__s1 ; |
|
4110 |
unsigned char const *__s1 ; |
| 4111 |
register int __result___0 ; |
|
4111 |
register int __result___0 ; |
| 4112 |
int tmp___3 ; |
|
4112 |
int tmp___3 ; |
| 4113 |
int tmp___4 ; |
|
4113 |
int tmp___4 ; |
| 4114 |
int tmp___5 ; |
|
4114 |
int tmp___5 ; |
| 4115 |
int tmp___6 ; |
|
4115 |
int tmp___6 ; |
| 4116 |
int tmp___7 ; |
|
4116 |
int tmp___7 ; |
| 4117 |
int tmp___8 ; |
|
4117 |
int tmp___8 ; |
| 4118 |
int tmp___9 ; |
|
4118 |
int tmp___9 ; |
| 4119 |
int tmp___10 ; |
|
4119 |
int tmp___10 ; |
| 4120 |
int tmp___11 ; |
|
4120 |
int tmp___11 ; |
| 4121 |
int tmp___12 ; |
|
4121 |
int tmp___12 ; |
| 4122 |
sigset_t oldset ; |
|
4122 |
sigset_t oldset ; |
| 4123 |
int unlink_errno ; |
|
4123 |
int unlink_errno ; |
| 4124 |
int tmp___13 ; |
|
4124 |
int tmp___13 ; |
| 4125 |
int tmp___14 ; |
|
4125 |
int tmp___14 ; |
| 4126 |
int *tmp___15 ; |
|
4126 |
int *tmp___15 ; |
| 4127 |
int tmp___16 ; |
|
4127 |
int tmp___16 ; |
| 4128 |
int *tmp___17 ; |
|
4128 |
int *tmp___17 ; |
| 4129 |
|
|
4129 |
|
| 4130 |
{ |
|
4130 |
{ |
| 4131 |
if (0) { |
|
4131 |
if (0) { |
| 4132 |
__s1_len = strlen((char const *)iname); |
|
4132 |
__s1_len = strlen((char const *)iname); |
| 4133 |
__s2_len = strlen("-"); |
|
4133 |
__s2_len = strlen("-"); |
| 4134 |
if (! ((size_t )((void const *)(iname + 1)) - (size_t )((void const *)iname) == 1U)) { |
|
4134 |
if (! ((size_t )((void const *)(iname + 1)) - (size_t )((void const *)iname) == 1U)) { |
| 4135 |
goto _L___0; |
|
4135 |
goto _L___0; |
| 4136 |
} else |
|
4136 |
} else |
| 4137 |
if (__s1_len >= 4U) { |
|
4137 |
if (__s1_len >= 4U) { |
| 4138 |
_L___0: |
|
4138 |
_L___0: |
| 4139 |
if (! ((size_t )((void const *)("-" + 1)) - (size_t )((void const *)"-") == 1U)) { |
|
4139 |
if (! ((size_t )((void const *)("-" + 1)) - (size_t )((void const *)"-") == 1U)) { |
| 4140 |
tmp___5 = 1; |
|
4140 |
tmp___5 = 1; |
| 4141 |
} else |
|
4141 |
} else |
| 4142 |
if (__s2_len >= 4U) { |
|
4142 |
if (__s2_len >= 4U) { |
| 4143 |
tmp___5 = 1; |
|
4143 |
tmp___5 = 1; |
| 4144 |
} else { |
|
4144 |
} else { |
| 4145 |
tmp___5 = 0; |
|
4145 |
tmp___5 = 0; |
| 4146 |
} |
|
4146 |
} |
| 4147 |
} else { |
|
4147 |
} else { |
| 4148 |
tmp___5 = 0; |
|
4148 |
tmp___5 = 0; |
| 4149 |
} |
|
4149 |
} |
| 4150 |
if (tmp___5) { |
|
4150 |
if (tmp___5) { |
| 4151 |
tmp___0 = __builtin_strcmp((char const *)iname, "-"); |
|
4151 |
tmp___0 = __builtin_strcmp((char const *)iname, "-"); |
| 4152 |
tmp___4 = tmp___0; |
|
4152 |
tmp___4 = tmp___0; |
| 4153 |
} else { |
|
4153 |
} else { |
| 4154 |
tmp___3 = __builtin_strcmp((char const *)iname, "-"); |
|
4154 |
tmp___3 = __builtin_strcmp((char const *)iname, "-"); |
| 4155 |
tmp___4 = tmp___3; |
|
4155 |
tmp___4 = tmp___3; |
| 4156 |
} |
|
4156 |
} |
| 4157 |
} else { |
|
4157 |
} else { |
| 4158 |
tmp___3 = __builtin_strcmp((char const *)iname, "-"); |
|
4158 |
tmp___3 = __builtin_strcmp((char const *)iname, "-"); |
| 4159 |
tmp___4 = tmp___3; |
|
4159 |
tmp___4 = tmp___3; |
| 4160 |
} |
|
4160 |
} |
| 4161 |
if (tmp___4 == 0) { |
|
4161 |
if (tmp___4 == 0) { |
| 4162 |
cflag = to_stdout; |
|
4162 |
cflag = to_stdout; |
| 4163 |
treat_stdin(); |
|
4163 |
treat_stdin(); |
| 4164 |
to_stdout = cflag; |
|
4164 |
to_stdout = cflag; |
| 4165 |
return; |
|
4165 |
return; |
| 4166 |
} else { |
|
4166 |
} else { |
| 4167 |
|
|
4167 |
|
| 4168 |
} |
|
4168 |
} |
| 4169 |
ifd = open_input_file(iname, & istat); |
|
4169 |
ifd = open_input_file(iname, & istat); |
| 4170 |
if (ifd < 0) { |
|
4170 |
if (ifd < 0) { |
| 4171 |
return; |
|
4171 |
return; |
| 4172 |
} else { |
|
4172 |
} else { |
| 4173 |
|
|
4173 |
|
| 4174 |
} |
|
4174 |
} |
| 4175 |
if ((istat.st_mode & 61440U) == 16384U) { |
|
4175 |
if ((istat.st_mode & 61440U) == 16384U) { |
| 4176 |
if (recursive) { |
|
4176 |
if (recursive) { |
| 4177 |
treat_dir(ifd, iname); |
|
4177 |
treat_dir(ifd, iname); |
| 4178 |
return; |
|
4178 |
return; |
| 4179 |
} else { |
|
4179 |
} else { |
| 4180 |
|
|
4180 |
|
| 4181 |
} |
|
4181 |
} |
| 4182 |
close(ifd); |
|
4182 |
close(ifd); |
| 4183 |
if (! quiet) { |
|
4183 |
if (! quiet) { |
| 4184 |
fprintf((FILE *)stderr, |
|
4184 |
fprintf((FILE *)stderr, |
| 4185 |
(char const *)"%s: %s is a directory -- ignored\n", |
|
4185 |
(char const *)"%s: %s is a directory -- ignored\n", |
| 4186 |
program_name, ifname); |
|
4186 |
program_name, ifname); |
| 4187 |
} else { |
|
4187 |
} else { |
| 4188 |
|
|
4188 |
|
| 4189 |
} |
|
4189 |
} |
| 4190 |
if (exit_code == 0) { |
|
4190 |
if (exit_code == 0) { |
| 4191 |
exit_code = 2; |
|
4191 |
exit_code = 2; |
| 4192 |
} else { |
|
4192 |
} else { |
| 4193 |
|
|
4193 |
|
| 4194 |
} |
|
4194 |
} |
| 4195 |
return; |
|
4195 |
return; |
| 4196 |
} else { |
|
4196 |
} else { |
| 4197 |
|
|
4197 |
|
| 4198 |
} |
|
4198 |
} |
| 4199 |
if (! to_stdout) { |
|
4199 |
if (! to_stdout) { |
| 4200 |
if (! ((istat.st_mode & 61440U) == 32768U)) { |
|
4200 |
if (! ((istat.st_mode & 61440U) == 32768U)) { |
| 4201 |
if (! quiet) { |
|
4201 |
if (! quiet) { |
| 4202 |
fprintf((FILE *)stderr, |
|
4202 |
fprintf((FILE *)stderr, |
| 4203 |
(char const *)"%s: %s is not a directory or a regular file - ignored\n", |
|
4203 |
(char const *)"%s: %s is not a directory or a regular file - ignored\n", |
| 4204 |
program_name, ifname); |
|
4204 |
program_name, ifname); |
| 4205 |
} else { |
|
4205 |
} else { |
| 4206 |
|
|
4206 |
|
| 4207 |
} |
|
4207 |
} |
| 4208 |
if (exit_code == 0) { |
|
4208 |
if (exit_code == 0) { |
| 4209 |
exit_code = 2; |
|
4209 |
exit_code = 2; |
| 4210 |
} else { |
|
4210 |
} else { |
| 4211 |
|
|
4211 |
|
| 4212 |
} |
|
4212 |
} |
| 4213 |
close(ifd); |
|
4213 |
close(ifd); |
| 4214 |
return; |
|
4214 |
return; |
| 4215 |
} else { |
|
4215 |
} else { |
| 4216 |
|
|
4216 |
|
| 4217 |
} |
|
4217 |
} |
| 4218 |
if (istat.st_mode & 2048U) { |
|
4218 |
if (istat.st_mode & 2048U) { |
| 4219 |
if (! quiet) { |
|
4219 |
if (! quiet) { |
| 4220 |
fprintf((FILE *)stderr, |
|
4220 |
fprintf((FILE *)stderr, |
| 4221 |
(char const *)"%s: %s is set-user-ID on execution - ignored\n", |
|
4221 |
(char const *)"%s: %s is set-user-ID on execution - ignored\n", |
| 4222 |
program_name, ifname); |
|
4222 |
program_name, ifname); |
| 4223 |
} else { |
|
4223 |
} else { |
| 4224 |
|
|
4224 |
|
| 4225 |
} |
|
4225 |
} |
| 4226 |
if (exit_code == 0) { |
|
4226 |
if (exit_code == 0) { |
| 4227 |
exit_code = 2; |
|
4227 |
exit_code = 2; |
| 4228 |
} else { |
|
4228 |
} else { |
| 4229 |
|
|
4229 |
|
| 4230 |
} |
|
4230 |
} |
| 4231 |
close(ifd); |
|
4231 |
close(ifd); |
| 4232 |
return; |
|
4232 |
return; |
| 4233 |
} else { |
|
4233 |
} else { |
| 4234 |
|
|
4234 |
|
| 4235 |
} |
|
4235 |
} |
| 4236 |
if (istat.st_mode & 1024U) { |
|
4236 |
if (istat.st_mode & 1024U) { |
| 4237 |
if (! quiet) { |
|
4237 |
if (! quiet) { |
| 4238 |
fprintf((FILE *)stderr, |
|
4238 |
fprintf((FILE *)stderr, |
| 4239 |
(char const *)"%s: %s is set-group-ID on execution - ignored\n", |
|
4239 |
(char const *)"%s: %s is set-group-ID on execution - ignored\n", |
| 4240 |
program_name, ifname); |
|
4240 |
program_name, ifname); |
| 4241 |
} else { |
|
4241 |
} else { |
| 4242 |
|
|
4242 |
|
| 4243 |
} |
|
4243 |
} |
| 4244 |
if (exit_code == 0) { |
|
4244 |
if (exit_code == 0) { |
| 4245 |
exit_code = 2; |
|
4245 |
exit_code = 2; |
| 4246 |
} else { |
|
4246 |
} else { |
| 4247 |
|
|
4247 |
|
| 4248 |
} |
|
4248 |
} |
| 4249 |
close(ifd); |
|
4249 |
close(ifd); |
| 4250 |
return; |
|
4250 |
return; |
| 4251 |
} else { |
|
4251 |
} else { |
| 4252 |
|
|
4252 |
|
| 4253 |
} |
|
4253 |
} |
| 4254 |
if (! force) { |
|
4254 |
if (! force) { |
| 4255 |
if (istat.st_mode & 512U) { |
|
4255 |
if (istat.st_mode & 512U) { |
| 4256 |
if (! quiet) { |
|
4256 |
if (! quiet) { |
| 4257 |
fprintf((FILE *)stderr, |
|
4257 |
fprintf((FILE *)stderr, |
| 4258 |
(char const *)"%s: %s has the sticky bit set - file ignored\n", |
|
4258 |
(char const *)"%s: %s has the sticky bit set - file ignored\n", |
| 4259 |
program_name, ifname); |
|
4259 |
program_name, ifname); |
| 4260 |
} else { |
|
4260 |
} else { |
| 4261 |
|
|
4261 |
|
| 4262 |
} |
|
4262 |
} |
| 4263 |
if (exit_code == 0) { |
|
4263 |
if (exit_code == 0) { |
| 4264 |
exit_code = 2; |
|
4264 |
exit_code = 2; |
| 4265 |
} else { |
|
4265 |
} else { |
| 4266 |
|
|
4266 |
|
| 4267 |
} |
|
4267 |
} |
| 4268 |
close(ifd); |
|
4268 |
close(ifd); |
| 4269 |
return; |
|
4269 |
return; |
| 4270 |
} else { |
|
4270 |
} else { |
| 4271 |
|
|
4271 |
|
| 4272 |
} |
|
4272 |
} |
| 4273 |
if (2U <= istat.st_nlink) { |
|
4273 |
if (2U <= istat.st_nlink) { |
| 4274 |
if (! quiet) { |
|
4274 |
if (! quiet) { |
| 4275 |
if (istat.st_nlink == 2U) { |
|
4275 |
if (istat.st_nlink == 2U) { |
| 4276 |
tmp___6 = ' '; |
|
4276 |
tmp___6 = ' '; |
| 4277 |
} else { |
|
4277 |
} else { |
| 4278 |
tmp___6 = 's'; |
|
4278 |
tmp___6 = 's'; |
| 4279 |
} |
|
4279 |
} |
| |
|
-+ |
4280 |
{ |
| |
|
|
4281 |
if ((unsigned long )istat.st_nlink < 2) { |
| |
|
|
4282 |
return; |
| |
|
|
4283 |
} |
| 4280 |
fprintf((FILE *)stderr, |
= |
4284 |
fprintf((FILE *)stderr, |
| 4281 |
(char const *)"%s: %s has %lu other link%c -- unchanged\n", |
|
4285 |
(char const *)"%s: %s has %lu other link%c -- unchanged\n", |
| 4282 |
program_name, ifname, (unsigned long )istat.st_nlink - 1UL, |
|
4286 |
program_name, ifname, (unsigned long )istat.st_nlink - 1UL, |
| 4283 |
tmp___6); |
|
4287 |
tmp___6); |
| |
|
-+ |
4288 |
} |
| 4284 |
} else { |
= |
4289 |
} else { |
| 4285 |
|
|
4290 |
|
| 4286 |
} |
|
4291 |
} |
| 4287 |
if (exit_code == 0) { |
|
4292 |
if (exit_code == 0) { |
| 4288 |
exit_code = 2; |
|
4293 |
exit_code = 2; |
| 4289 |
} else { |
|
4294 |
} else { |
| 4290 |
|
|
4295 |
|
| 4291 |
} |
|
4296 |
} |
| 4292 |
close(ifd); |
|
4297 |
close(ifd); |
| 4293 |
return; |
|
4298 |
return; |
| 4294 |
} else { |
|
4299 |
} else { |
| 4295 |
|
|
4300 |
|
| 4296 |
} |
|
4301 |
} |
| 4297 |
} else { |
|
4302 |
} else { |
| 4298 |
|
|
4303 |
|
| 4299 |
} |
|
4304 |
} |
| 4300 |
} else { |
|
4305 |
} else { |
| 4301 |
|
|
4306 |
|
| 4302 |
} |
|
4307 |
} |
| 4303 |
if ((istat.st_mode & 61440U) == 32768U) { |
|
4308 |
if ((istat.st_mode & 61440U) == 32768U) { |
| 4304 |
ifile_size = istat.st_size; |
|
4309 |
ifile_size = istat.st_size; |
| 4305 |
} else { |
|
4310 |
} else { |
| 4306 |
ifile_size = (off_t )-1; |
|
4311 |
ifile_size = (off_t )-1; |
| 4307 |
} |
|
4312 |
} |
| 4308 |
time_stamp.tv_nsec = -1L; |
|
4313 |
time_stamp.tv_nsec = -1L; |
| 4309 |
if (! no_time) { |
|
4314 |
if (! no_time) { |
| 4310 |
time_stamp = get_stat_mtime((struct stat const *)(& istat)); |
|
4315 |
time_stamp = get_stat_mtime((struct stat const *)(& istat)); |
| 4311 |
} else |
|
4316 |
} else |
| 4312 |
if (list) { |
|
4317 |
if (list) { |
| 4313 |
time_stamp = get_stat_mtime((struct stat const *)(& istat)); |
|
4318 |
time_stamp = get_stat_mtime((struct stat const *)(& istat)); |
| 4314 |
} else { |
|
4319 |
} else { |
| 4315 |
|
|
4320 |
|
| 4316 |
} |
|
4321 |
} |
| 4317 |
if (to_stdout) { |
|
4322 |
if (to_stdout) { |
| 4318 |
if (! list) { |
|
4323 |
if (! list) { |
| 4319 |
if (! test) { |
|
4324 |
if (! test) { |
| 4320 |
strcpy((char *)(ofname), |
|
4325 |
strcpy((char *)(ofname), |
| 4321 |
(char const *)"stdout"); |
|
4326 |
(char const *)"stdout"); |
| 4322 |
} else { |
|
4327 |
} else { |
| 4323 |
goto _L___2; |
|
4328 |
goto _L___2; |
| 4324 |
} |
|
4329 |
} |
| 4325 |
} else { |
|
4330 |
} else { |
| 4326 |
goto _L___2; |
|
4331 |
goto _L___2; |
| 4327 |
} |
|
4332 |
} |
| 4328 |
} else { |
|
4333 |
} else { |
| 4329 |
_L___2: |
|
4334 |
_L___2: |
| 4330 |
_L___1: |
|
4335 |
_L___1: |
| 4331 |
tmp___7 = make_ofname(); |
|
4336 |
tmp___7 = make_ofname(); |
| 4332 |
if (tmp___7 != 0) { |
|
4337 |
if (tmp___7 != 0) { |
| 4333 |
close(ifd); |
|
4338 |
close(ifd); |
| 4334 |
return; |
|
4339 |
return; |
| 4335 |
} else { |
|
4340 |
} else { |
| 4336 |
|
|
4341 |
|
| 4337 |
} |
|
4342 |
} |
| 4338 |
} |
|
4343 |
} |
| 4339 |
clear_bufs(); |
|
4344 |
clear_bufs(); |
| 4340 |
part_nb = 0; |
|
4345 |
part_nb = 0; |
| 4341 |
if (decompress) { |
|
4346 |
if (decompress) { |
| 4342 |
method = get_method(ifd); |
|
4347 |
method = get_method(ifd); |
| 4343 |
if (method < 0) { |
|
4348 |
if (method < 0) { |
| 4344 |
close(ifd); |
|
4349 |
close(ifd); |
| 4345 |
return; |
|
4350 |
return; |
| 4346 |
} else { |
|
4351 |
} else { |
| 4347 |
|
|
4352 |
|
| 4348 |
} |
|
4353 |
} |
| 4349 |
} else { |
|
4354 |
} else { |
| 4350 |
|
|
4355 |
|
| 4351 |
} |
|
4356 |
} |
| 4352 |
if (list) { |
|
4357 |
if (list) { |
| 4353 |
do_list(ifd, method); |
|
4358 |
do_list(ifd, method); |
| 4354 |
tmp___8 = close(ifd); |
|
4359 |
tmp___8 = close(ifd); |
| 4355 |
if (tmp___8 != 0) { |
|
4360 |
if (tmp___8 != 0) { |
| 4356 |
read_error(); |
|
4361 |
read_error(); |
| 4357 |
} else { |
|
4362 |
} else { |
| 4358 |
|
|
4363 |
|
| 4359 |
} |
|
4364 |
} |
| 4360 |
return; |
|
4365 |
return; |
| 4361 |
} else { |
|
4366 |
} else { |
| 4362 |
|
|
4367 |
|
| 4363 |
} |
|
4368 |
} |
| 4364 |
if (to_stdout) { |
|
4369 |
if (to_stdout) { |
| 4365 |
ofd = fileno(stdout); |
|
4370 |
ofd = fileno(stdout); |
| 4366 |
} else { |
|
4371 |
} else { |
| 4367 |
tmp___9 = create_outfile(); |
|
4372 |
tmp___9 = create_outfile(); |
| 4368 |
if (tmp___9 != 0) { |
|
4373 |
if (tmp___9 != 0) { |
| 4369 |
return; |
|
4374 |
return; |
| 4370 |
} else { |
|
4375 |
} else { |
| 4371 |
|
|
4376 |
|
| 4372 |
} |
|
4377 |
} |
| 4373 |
if (! decompress) { |
|
4378 |
if (! decompress) { |
| 4374 |
if (save_orig_name) { |
|
4379 |
if (save_orig_name) { |
| 4375 |
if (! verbose) { |
|
4380 |
if (! verbose) { |
| 4376 |
if (! quiet) { |
|
4381 |
if (! quiet) { |
| 4377 |
fprintf((FILE *)stderr, |
|
4382 |
fprintf((FILE *)stderr, |
| 4378 |
(char const *)"%s: %s compressed to %s\n", |
|
4383 |
(char const *)"%s: %s compressed to %s\n", |
| 4379 |
program_name, ifname, ofname); |
|
4384 |
program_name, ifname, ofname); |
| 4380 |
} else { |
|
4385 |
} else { |
| 4381 |
|
|
4386 |
|
| 4382 |
} |
|
4387 |
} |
| 4383 |
} else { |
|
4388 |
} else { |
| 4384 |
|
|
4389 |
|
| 4385 |
} |
|
4390 |
} |
| 4386 |
} else { |
|
4391 |
} else { |
| 4387 |
|
|
4392 |
|
| 4388 |
} |
|
4393 |
} |
| 4389 |
} else { |
|
4394 |
} else { |
| 4390 |
|
|
4395 |
|
| 4391 |
} |
|
4396 |
} |
| 4392 |
} |
|
4397 |
} |
| 4393 |
if (! save_orig_name) { |
|
4398 |
if (! save_orig_name) { |
| 4394 |
save_orig_name = ! no_name; |
|
4399 |
save_orig_name = ! no_name; |
| 4395 |
} else { |
|
4400 |
} else { |
| 4396 |
|
|
4401 |
|
| 4397 |
} |
|
4402 |
} |
| 4398 |
if (verbose) { |
|
4403 |
if (verbose) { |
| 4399 |
fprintf((FILE *)stderr, |
|
4404 |
fprintf((FILE *)stderr, |
| 4400 |
(char const *)"%s:\t", ifname); |
|
4405 |
(char const *)"%s:\t", ifname); |
| 4401 |
} else { |
|
4406 |
} else { |
| 4402 |
|
|
4407 |
|
| 4403 |
} |
|
4408 |
} |
| 4404 |
while (1) { |
|
4409 |
while (1) { |
| 4405 |
tmp___10 = (*work)(ifd, ofd); |
|
4410 |
tmp___10 = (*work)(ifd, ofd); |
| 4406 |
if (tmp___10 != 0) { |
|
4411 |
if (tmp___10 != 0) { |
| 4407 |
method = -1; |
|
4412 |
method = -1; |
| 4408 |
break; |
|
4413 |
break; |
| 4409 |
} else { |
|
4414 |
} else { |
| 4410 |
|
|
4415 |
|
| 4411 |
} |
|
4416 |
} |
| 4412 |
tmp___11 = input_eof(); |
|
4417 |
tmp___11 = input_eof(); |
| 4413 |
if (tmp___11) { |
|
4418 |
if (tmp___11) { |
| 4414 |
break; |
|
4419 |
break; |
| 4415 |
} else { |
|
4420 |
} else { |
| 4416 |
|
|
4421 |
|
| 4417 |
} |
|
4422 |
} |
| 4418 |
method = get_method(ifd); |
|
4423 |
method = get_method(ifd); |
| 4419 |
if (method < 0) { |
|
4424 |
if (method < 0) { |
| 4420 |
break; |
|
4425 |
break; |
| 4421 |
} else { |
|
4426 |
} else { |
| 4422 |
|
|
4427 |
|
| 4423 |
} |
|
4428 |
} |
| 4424 |
bytes_out = (off_t )0; |
|
4429 |
bytes_out = (off_t )0; |
| 4425 |
} |
|
4430 |
} |
| 4426 |
tmp___12 = close(ifd); |
|
4431 |
tmp___12 = close(ifd); |
| 4427 |
if (tmp___12 != 0) { |
|
4432 |
if (tmp___12 != 0) { |
| 4428 |
read_error(); |
|
4433 |
read_error(); |
| 4429 |
} else { |
|
4434 |
} else { |
| 4430 |
|
|
4435 |
|
| 4431 |
} |
|
4436 |
} |
| 4432 |
if (! to_stdout) { |
|
4437 |
if (! to_stdout) { |
| 4433 |
copy_stat(& istat); |
|
4438 |
copy_stat(& istat); |
| 4434 |
tmp___13 = close(ofd); |
|
4439 |
tmp___13 = close(ofd); |
| 4435 |
if (tmp___13 != 0) { |
|
4440 |
if (tmp___13 != 0) { |
| 4436 |
write_error(); |
|
4441 |
write_error(); |
| 4437 |
} else { |
|
4442 |
} else { |
| 4438 |
|
|
4443 |
|
| 4439 |
} |
|
4444 |
} |
| 4440 |
sigprocmask(0, (sigset_t const *)(& caught_signals), |
|
4445 |
sigprocmask(0, (sigset_t const *)(& caught_signals), |
| 4441 |
(sigset_t *)(& oldset)); |
|
4446 |
(sigset_t *)(& oldset)); |
| 4442 |
remove_ofname_fd = (int volatile )-1; |
|
4447 |
remove_ofname_fd = (int volatile )-1; |
| 4443 |
tmp___16 = xunlink(ifname); |
|
4448 |
tmp___16 = xunlink(ifname); |
| 4444 |
if (tmp___16 == 0) { |
|
4449 |
if (tmp___16 == 0) { |
| 4445 |
unlink_errno = 0; |
|
4450 |
unlink_errno = 0; |
| 4446 |
} else { |
|
4451 |
} else { |
| 4447 |
tmp___15 = __errno_location(); |
|
4452 |
tmp___15 = __errno_location(); |
| 4448 |
unlink_errno = *tmp___15; |
|
4453 |
unlink_errno = *tmp___15; |
| 4449 |
} |
|
4454 |
} |
| 4450 |
sigprocmask(2, (sigset_t const *)(& oldset), |
|
4455 |
sigprocmask(2, (sigset_t const *)(& oldset), |
| 4451 |
(sigset_t *)((void *)0)); |
|
4456 |
(sigset_t *)((void *)0)); |
| 4452 |
if (unlink_errno) { |
|
4457 |
if (unlink_errno) { |
| 4453 |
if (! quiet) { |
|
4458 |
if (! quiet) { |
| 4454 |
fprintf((FILE *)stderr, |
|
4459 |
fprintf((FILE *)stderr, |
| 4455 |
(char const *)"%s: ", program_name); |
|
4460 |
(char const *)"%s: ", program_name); |
| 4456 |
} else { |
|
4461 |
} else { |
| 4457 |
|
|
4462 |
|
| 4458 |
} |
|
4463 |
} |
| 4459 |
if (exit_code == 0) { |
|
4464 |
if (exit_code == 0) { |
| 4460 |
exit_code = 2; |
|
4465 |
exit_code = 2; |
| 4461 |
} else { |
|
4466 |
} else { |
| 4462 |
|
|
4467 |
|
| 4463 |
} |
|
4468 |
} |
| 4464 |
if (! quiet) { |
|
4469 |
if (! quiet) { |
| 4465 |
tmp___17 = __errno_location(); |
|
4470 |
tmp___17 = __errno_location(); |
| 4466 |
*tmp___17 = unlink_errno; |
|
4471 |
*tmp___17 = unlink_errno; |
| 4467 |
perror((char const *)(ifname)); |
|
4472 |
perror((char const *)(ifname)); |
| 4468 |
} else { |
|
4473 |
} else { |
| 4469 |
|
|
4474 |
|
| 4470 |
} |
|
4475 |
} |
| 4471 |
} else { |
|
4476 |
} else { |
| 4472 |
|
|
4477 |
|
| 4473 |
} |
|
4478 |
} |
| 4474 |
} else { |
|
4479 |
} else { |
| 4475 |
|
|
4480 |
|
| 4476 |
} |
|
4481 |
} |
| 4477 |
if (method == -1) { |
|
4482 |
if (method == -1) { |
| 4478 |
if (! to_stdout) { |
|
4483 |
if (! to_stdout) { |
| 4479 |
remove_output_file(); |
|
4484 |
remove_output_file(); |
| 4480 |
} else { |
|
4485 |
} else { |
| 4481 |
|
|
4486 |
|
| 4482 |
} |
|
4487 |
} |
| 4483 |
return; |
|
4488 |
return; |
| 4484 |
} else { |
|
4489 |
} else { |
| 4485 |
|
|
4490 |
|
| 4486 |
} |
|
4491 |
} |
| 4487 |
if (verbose) { |
|
4492 |
if (verbose) { |
| 4488 |
if (test) { |
|
4493 |
if (test) { |
| 4489 |
fprintf((FILE *)stderr, |
|
4494 |
fprintf((FILE *)stderr, |
| 4490 |
(char const *)" OK"); |
|
4495 |
(char const *)" OK"); |
| 4491 |
} else |
|
4496 |
} else |
| 4492 |
if (decompress) { |
|
4497 |
if (decompress) { |
| 4493 |
display_ratio(bytes_out - (bytes_in - header_bytes), bytes_out, stderr); |
|
4498 |
display_ratio(bytes_out - (bytes_in - header_bytes), bytes_out, stderr); |
| 4494 |
} else { |
|
4499 |
} else { |
| 4495 |
display_ratio(bytes_in - (bytes_out - header_bytes), bytes_in, stderr); |
|
4500 |
display_ratio(bytes_in - (bytes_out - header_bytes), bytes_in, stderr); |
| 4496 |
} |
|
4501 |
} |
| 4497 |
if (! test) { |
|
4502 |
if (! test) { |
| 4498 |
if (! to_stdout) { |
|
4503 |
if (! to_stdout) { |
| 4499 |
fprintf((FILE *)stderr, |
|
4504 |
fprintf((FILE *)stderr, |
| 4500 |
(char const *)" -- replaced with %s", ofname); |
|
4505 |
(char const *)" -- replaced with %s", ofname); |
| 4501 |
} else { |
|
4506 |
} else { |
| 4502 |
|
|
4507 |
|
| 4503 |
} |
|
4508 |
} |
| 4504 |
} else { |
|
4509 |
} else { |
| 4505 |
|
|
4510 |
|
| 4506 |
} |
|
4511 |
} |
| 4507 |
fprintf((FILE *)stderr, |
|
4512 |
fprintf((FILE *)stderr, |
| 4508 |
(char const *)"\n"); |
|
4513 |
(char const *)"\n"); |
| 4509 |
} else { |
|
4514 |
} else { |
| 4510 |
|
|
4515 |
|
| 4511 |
} |
|
4516 |
} |
| 4512 |
return; |
|
4517 |
return; |
| 4513 |
} |
|
4518 |
} |
| 4514 |
} |
|
4519 |
} |
| 4515 |
static int create_outfile(void) |
|
4520 |
static int create_outfile(void) |
| 4516 |
{ |
|
4521 |
{ |
| 4517 |
int name_shortened ; |
|
4522 |
int name_shortened ; |
| 4518 |
int flags ; |
|
4523 |
int flags ; |
| 4519 |
int tmp ; |
|
4524 |
int tmp ; |
| 4520 |
int open_errno ; |
|
4525 |
int open_errno ; |
| 4521 |
sigset_t oldset ; |
|
4526 |
sigset_t oldset ; |
| 4522 |
int *tmp___0 ; |
|
4527 |
int *tmp___0 ; |
| 4523 |
int tmp___1 ; |
|
4528 |
int tmp___1 ; |
| 4524 |
|
|
4529 |
|
| 4525 |
{ |
|
4530 |
{ |
| 4526 |
name_shortened = 0; |
|
4531 |
name_shortened = 0; |
| 4527 |
if (ascii) { |
|
4532 |
if (ascii) { |
| 4528 |
if (decompress) { |
|
4533 |
if (decompress) { |
| 4529 |
tmp = 0; |
|
4534 |
tmp = 0; |
| 4530 |
} else { |
|
4535 |
} else { |
| 4531 |
tmp = 0; |
|
4536 |
tmp = 0; |
| 4532 |
} |
|
4537 |
} |
| 4533 |
} else { |
|
4538 |
} else { |
| 4534 |
tmp = 0; |
|
4539 |
tmp = 0; |
| 4535 |
} |
|
4540 |
} |
| 4536 |
flags = 193 | tmp; |
|
4541 |
flags = 193 | tmp; |
| 4537 |
while (1) { |
|
4542 |
while (1) { |
| 4538 |
sigprocmask(0, (sigset_t const *)(& caught_signals), |
|
4543 |
sigprocmask(0, (sigset_t const *)(& caught_signals), |
| 4539 |
(sigset_t *)(& oldset)); |
|
4544 |
(sigset_t *)(& oldset)); |
| 4540 |
ofd = open_safer((char const *)(ofname), flags, 384); |
|
4545 |
ofd = open_safer((char const *)(ofname), flags, 384); |
| 4541 |
remove_ofname_fd = (int volatile )ofd; |
|
4546 |
remove_ofname_fd = (int volatile )ofd; |
| 4542 |
tmp___0 = __errno_location(); |
|
4547 |
tmp___0 = __errno_location(); |
| 4543 |
open_errno = *tmp___0; |
|
4548 |
open_errno = *tmp___0; |
| 4544 |
sigprocmask(2, (sigset_t const *)(& oldset), |
|
4549 |
sigprocmask(2, (sigset_t const *)(& oldset), |
| 4545 |
(sigset_t *)((void *)0)); |
|
4550 |
(sigset_t *)((void *)0)); |
| 4546 |
if (0 <= ofd) { |
|
4551 |
if (0 <= ofd) { |
| 4547 |
break; |
|
4552 |
break; |
| 4548 |
} else { |
|
4553 |
} else { |
| 4549 |
|
|
4554 |
|
| 4550 |
} |
|
4555 |
} |
| 4551 |
switch (open_errno) { |
|
4556 |
switch (open_errno) { |
| 4552 |
case 36: |
|
4557 |
case 36: |
| 4553 |
shorten_name(ofname); |
|
4558 |
shorten_name(ofname); |
| 4554 |
name_shortened = 1; |
|
4559 |
name_shortened = 1; |
| 4555 |
break; |
|
4560 |
break; |
| 4556 |
case 17: |
|
4561 |
case 17: |
| 4557 |
tmp___1 = check_ofname(); |
|
4562 |
tmp___1 = check_ofname(); |
| 4558 |
if (tmp___1 != 0) { |
|
4563 |
if (tmp___1 != 0) { |
| 4559 |
close(ifd); |
|
4564 |
close(ifd); |
| 4560 |
return (1); |
|
4565 |
return (1); |
| 4561 |
} else { |
|
4566 |
} else { |
| 4562 |
|
|
4567 |
|
| 4563 |
} |
|
4568 |
} |
| 4564 |
break; |
|
4569 |
break; |
| 4565 |
default: |
|
4570 |
default: |
| 4566 |
progerror(ofname); |
|
4571 |
progerror(ofname); |
| 4567 |
close(ifd); |
|
4572 |
close(ifd); |
| 4568 |
return (1); |
|
4573 |
return (1); |
| 4569 |
} |
|
4574 |
} |
| 4570 |
} |
|
4575 |
} |
| 4571 |
if (name_shortened) { |
|
4576 |
if (name_shortened) { |
| 4572 |
if (decompress) { |
|
4577 |
if (decompress) { |
| 4573 |
if (! quiet) { |
|
4578 |
if (! quiet) { |
| 4574 |
fprintf((FILE *)stderr, |
|
4579 |
fprintf((FILE *)stderr, |
| 4575 |
(char const *)"%s: %s: warning, name truncated\n", |
|
4580 |
(char const *)"%s: %s: warning, name truncated\n", |
| 4576 |
program_name, ofname); |
|
4581 |
program_name, ofname); |
| 4577 |
} else { |
|
4582 |
} else { |
| 4578 |
|
|
4583 |
|
| 4579 |
} |
|
4584 |
} |
| 4580 |
if (exit_code == 0) { |
|
4585 |
if (exit_code == 0) { |
| 4581 |
exit_code = 2; |
|
4586 |
exit_code = 2; |
| 4582 |
} else { |
|
4587 |
} else { |
| 4583 |
|
|
4588 |
|
| 4584 |
} |
|
4589 |
} |
| 4585 |
} else { |
|
4590 |
} else { |
| 4586 |
|
|
4591 |
|
| 4587 |
} |
|
4592 |
} |
| 4588 |
} else { |
|
4593 |
} else { |
| 4589 |
|
|
4594 |
|
| 4590 |
} |
|
4595 |
} |
| 4591 |
return (0); |
|
4596 |
return (0); |
| 4592 |
} |
|
4597 |
} |
| 4593 |
} |
|
4598 |
} |
| 4594 |
static char *get_suffix(char *name ) ; |
|
4599 |
static char *get_suffix(char *name ) ; |
| 4595 |
static char *known_suffixes[9] = |
|
4600 |
static char *known_suffixes[9] = |
| 4596 |
{ (char *)((void *)0), (char *)".gz", (char *)".z", (char *)".taz", |
|
4601 |
{ (char *)((void *)0), (char *)".gz", (char *)".z", (char *)".taz", |
| 4597 |
(char *)".tgz", (char *)"-gz", (char *)"-z", (char *)"_z", |
|
4602 |
(char *)".tgz", (char *)"-gz", (char *)"-z", (char *)"_z", |
| 4598 |
(char *)((void *)0)}; |
|
4603 |
(char *)((void *)0)}; |
| 4599 |
static char *get_suffix(char *name ) |
|
4604 |
static char *get_suffix(char *name ) |
| 4600 |
{ |
|
4605 |
{ |
| 4601 |
int nlen ; |
|
4606 |
int nlen ; |
| 4602 |
int slen ; |
|
4607 |
int slen ; |
| 4603 |
char suffix[33] ; |
|
4608 |
char suffix[33] ; |
| 4604 |
char **suf ; |
|
4609 |
char **suf ; |
| 4605 |
size_t __s1_len ; |
|
4610 |
size_t __s1_len ; |
| 4606 |
size_t __s2_len ; |
|
4611 |
size_t __s2_len ; |
| 4607 |
int tmp ; |
|
4612 |
int tmp ; |
| 4608 |
int tmp___0 ; |
|
4613 |
int tmp___0 ; |
| 4609 |
int tmp___1 ; |
|
4614 |
int tmp___1 ; |
| 4610 |
unsigned char const *__s2 ; |
|
4615 |
unsigned char const *__s2 ; |
| 4611 |
register int __result ; |
|
4616 |
register int __result ; |
| 4612 |
int tmp___2 ; |
|
4617 |
int tmp___2 ; |
| 4613 |
unsigned char const *__s1 ; |
|
4618 |
unsigned char const *__s1 ; |
| 4614 |
register int __result___0 ; |
|
4619 |
register int __result___0 ; |
| 4615 |
int tmp___3 ; |
|
4620 |
int tmp___3 ; |
| 4616 |
int tmp___4 ; |
|
4621 |
int tmp___4 ; |
| 4617 |
int tmp___5 ; |
|
4622 |
int tmp___5 ; |
| 4618 |
size_t tmp___6 ; |
|
4623 |
size_t tmp___6 ; |
| 4619 |
size_t tmp___7 ; |
|
4624 |
size_t tmp___7 ; |
| 4620 |
int s ; |
|
4625 |
int s ; |
| 4621 |
size_t tmp___8 ; |
|
4626 |
size_t tmp___8 ; |
| 4622 |
size_t __s1_len___0 ; |
|
4627 |
size_t __s1_len___0 ; |
| 4623 |
size_t __s2_len___0 ; |
|
4628 |
size_t __s2_len___0 ; |
| 4624 |
int tmp___9 ; |
|
4629 |
int tmp___9 ; |
| 4625 |
int tmp___10 ; |
|
4630 |
int tmp___10 ; |
| 4626 |
int tmp___11 ; |
|
4631 |
int tmp___11 ; |
| 4627 |
unsigned char const *__s2___0 ; |
|
4632 |
unsigned char const *__s2___0 ; |
| 4628 |
register int __result___1 ; |
|
4633 |
register int __result___1 ; |
| 4629 |
int tmp___12 ; |
|
4634 |
int tmp___12 ; |
| 4630 |
unsigned char const *__s1___0 ; |
|
4635 |
unsigned char const *__s1___0 ; |
| 4631 |
register int __result___2 ; |
|
4636 |
register int __result___2 ; |
| 4632 |
int tmp___13 ; |
|
4637 |
int tmp___13 ; |
| 4633 |
int tmp___14 ; |
|
4638 |
int tmp___14 ; |
| 4634 |
int tmp___15 ; |
|
4639 |
int tmp___15 ; |
| 4635 |
|
|
4640 |
|
| 4636 |
{ |
|
4641 |
{ |
| 4637 |
suf = known_suffixes; |
|
4642 |
suf = known_suffixes; |
| 4638 |
*suf = z_suffix; |
|
4643 |
*suf = z_suffix; |
| 4639 |
if (0) { |
|
4644 |
if (0) { |
| 4640 |
__s1_len = strlen((char const *)z_suffix); |
|
4645 |
__s1_len = strlen((char const *)z_suffix); |
| 4641 |
__s2_len = strlen("z"); |
|
4646 |
__s2_len = strlen("z"); |
| 4642 |
if (! ((size_t )((void const *)(z_suffix + 1)) - (size_t )((void const *)z_suffix) == 1U)) { |
|
4647 |
if (! ((size_t )((void const *)(z_suffix + 1)) - (size_t )((void const *)z_suffix) == 1U)) { |
| 4643 |
goto _L___0; |
|
4648 |
goto _L___0; |
| 4644 |
} else |
|
4649 |
} else |
| 4645 |
if (__s1_len >= 4U) { |
|
4650 |
if (__s1_len >= 4U) { |
| 4646 |
_L___0: |
|
4651 |
_L___0: |
| 4647 |
if (! ((size_t )((void const *)("z" + 1)) - (size_t )((void const *)"z") == 1U)) { |
|
4652 |
if (! ((size_t )((void const *)("z" + 1)) - (size_t )((void const *)"z") == 1U)) { |
| 4648 |
tmp___5 = 1; |
|
4653 |
tmp___5 = 1; |
| 4649 |
} else |
|
4654 |
} else |
| 4650 |
if (__s2_len >= 4U) { |
|
4655 |
if (__s2_len >= 4U) { |
| 4651 |
tmp___5 = 1; |
|
4656 |
tmp___5 = 1; |
| 4652 |
} else { |
|
4657 |
} else { |
| 4653 |
tmp___5 = 0; |
|
4658 |
tmp___5 = 0; |
| 4654 |
} |
|
4659 |
} |
| 4655 |
} else { |
|
4660 |
} else { |
| 4656 |
tmp___5 = 0; |
|
4661 |
tmp___5 = 0; |
| 4657 |
} |
|
4662 |
} |
| 4658 |
if (tmp___5) { |
|
4663 |
if (tmp___5) { |
| 4659 |
tmp___0 = __builtin_strcmp((char const *)z_suffix, "z"); |
|
4664 |
tmp___0 = __builtin_strcmp((char const *)z_suffix, "z"); |
| 4660 |
tmp___4 = tmp___0; |
|
4665 |
tmp___4 = tmp___0; |
| 4661 |
} else { |
|
4666 |
} else { |
| 4662 |
tmp___3 = __builtin_strcmp((char const *)z_suffix, "z"); |
|
4667 |
tmp___3 = __builtin_strcmp((char const *)z_suffix, "z"); |
| 4663 |
tmp___4 = tmp___3; |
|
4668 |
tmp___4 = tmp___3; |
| 4664 |
} |
|
4669 |
} |
| 4665 |
} else { |
|
4670 |
} else { |
| 4666 |
tmp___3 = __builtin_strcmp((char const *)z_suffix, "z"); |
|
4671 |
tmp___3 = __builtin_strcmp((char const *)z_suffix, "z"); |
| 4667 |
tmp___4 = tmp___3; |
|
4672 |
tmp___4 = tmp___3; |
| 4668 |
} |
|
4673 |
} |
| 4669 |
if (tmp___4 == 0) { |
|
4674 |
if (tmp___4 == 0) { |
| 4670 |
suf ++; |
|
4675 |
suf ++; |
| 4671 |
} else { |
|
4676 |
} else { |
| 4672 |
|
|
4677 |
|
| 4673 |
} |
|
4678 |
} |
| 4674 |
tmp___6 = strlen((char const *)name); |
|
4679 |
tmp___6 = strlen((char const *)name); |
| 4675 |
nlen = (int )tmp___6; |
|
4680 |
nlen = (int )tmp___6; |
| 4676 |
if (nlen <= 32) { |
|
4681 |
if (nlen <= 32) { |
| 4677 |
strcpy((char *)(suffix), |
|
4682 |
strcpy((char *)(suffix), |
| 4678 |
(char const *)name); |
|
4683 |
(char const *)name); |
| 4679 |
} else { |
|
4684 |
} else { |
| 4680 |
strcpy((char *)(suffix), |
|
4685 |
strcpy((char *)(suffix), |
| 4681 |
(char const *)(((name + nlen) - 30) - 2)); |
|
4686 |
(char const *)(((name + nlen) - 30) - 2)); |
| 4682 |
} |
|
4687 |
} |
| 4683 |
strlwr(suffix); |
|
4688 |
strlwr(suffix); |
| 4684 |
tmp___7 = strlen((char const *)(suffix)); |
|
4689 |
tmp___7 = strlen((char const *)(suffix)); |
| 4685 |
slen = (int )tmp___7; |
|
4690 |
slen = (int )tmp___7; |
| 4686 |
while (1) { |
|
4691 |
while (1) { |
| 4687 |
tmp___8 = strlen((char const *)*suf); |
|
4692 |
tmp___8 = strlen((char const *)*suf); |
| 4688 |
s = (int )tmp___8; |
|
4693 |
s = (int )tmp___8; |
| 4689 |
if (slen > s) { |
|
4694 |
if (slen > s) { |
| 4690 |
if ((int )suffix[(slen - s) - 1] != 47) { |
|
4695 |
if ((int )suffix[(slen - s) - 1] != 47) { |
| 4691 |
if (0) { |
|
4696 |
if (0) { |
| 4692 |
__s1_len___0 = strlen((char const *)((suffix + slen) - s)); |
|
4697 |
__s1_len___0 = strlen((char const *)((suffix + slen) - s)); |
| 4693 |
__s2_len___0 = strlen((char const *)*suf); |
|
4698 |
__s2_len___0 = strlen((char const *)*suf); |
| 4694 |
if (! ((size_t )((void const *)(((suffix + slen) - s) + 1)) - (size_t )((void const *)((suffix + slen) - s)) == 1U)) { |
|
4699 |
if (! ((size_t )((void const *)(((suffix + slen) - s) + 1)) - (size_t )((void const *)((suffix + slen) - s)) == 1U)) { |
| 4695 |
goto _L___2; |
|
4700 |
goto _L___2; |
| 4696 |
} else |
|
4701 |
} else |
| 4697 |
if (__s1_len___0 >= 4U) { |
|
4702 |
if (__s1_len___0 >= 4U) { |
| 4698 |
_L___2: |
|
4703 |
_L___2: |
| 4699 |
if (! ((size_t )((void const *)(*suf + 1)) - (size_t )((void const *)*suf) == 1U)) { |
|
4704 |
if (! ((size_t )((void const *)(*suf + 1)) - (size_t )((void const *)*suf) == 1U)) { |
| 4700 |
tmp___15 = 1; |
|
4705 |
tmp___15 = 1; |
| 4701 |
} else |
|
4706 |
} else |
| 4702 |
if (__s2_len___0 >= 4U) { |
|
4707 |
if (__s2_len___0 >= 4U) { |
| 4703 |
tmp___15 = 1; |
|
4708 |
tmp___15 = 1; |
| 4704 |
} else { |
|
4709 |
} else { |
| 4705 |
tmp___15 = 0; |
|
4710 |
tmp___15 = 0; |
| 4706 |
} |
|
4711 |
} |
| 4707 |
} else { |
|
4712 |
} else { |
| 4708 |
tmp___15 = 0; |
|
4713 |
tmp___15 = 0; |
| 4709 |
} |
|
4714 |
} |
| 4710 |
if (tmp___15) { |
|
4715 |
if (tmp___15) { |
| 4711 |
tmp___10 = __builtin_strcmp((char const *)((suffix + slen) - s), |
|
4716 |
tmp___10 = __builtin_strcmp((char const *)((suffix + slen) - s), |
| 4712 |
(char const *)*suf); |
|
4717 |
(char const *)*suf); |
| 4713 |
tmp___14 = tmp___10; |
|
4718 |
tmp___14 = tmp___10; |
| 4714 |
} else { |
|
4719 |
} else { |
| 4715 |
tmp___13 = __builtin_strcmp((char const *)((suffix + slen) - s), |
|
4720 |
tmp___13 = __builtin_strcmp((char const *)((suffix + slen) - s), |
| 4716 |
(char const *)*suf); |
|
4721 |
(char const *)*suf); |
| 4717 |
tmp___14 = tmp___13; |
|
4722 |
tmp___14 = tmp___13; |
| 4718 |
} |
|
4723 |
} |
| 4719 |
} else { |
|
4724 |
} else { |
| 4720 |
tmp___13 = __builtin_strcmp((char const *)((suffix + slen) - s), |
|
4725 |
tmp___13 = __builtin_strcmp((char const *)((suffix + slen) - s), |
| 4721 |
(char const *)*suf); |
|
4726 |
(char const *)*suf); |
| 4722 |
tmp___14 = tmp___13; |
|
4727 |
tmp___14 = tmp___13; |
| 4723 |
} |
|
4728 |
} |
| 4724 |
if (tmp___14 == 0) { |
|
4729 |
if (tmp___14 == 0) { |
| 4725 |
return ((name + nlen) - s); |
|
4730 |
return ((name + nlen) - s); |
| 4726 |
} else { |
|
4731 |
} else { |
| 4727 |
|
|
4732 |
|
| 4728 |
} |
|
4733 |
} |
| 4729 |
} else { |
|
4734 |
} else { |
| 4730 |
|
|
4735 |
|
| 4731 |
} |
|
4736 |
} |
| 4732 |
} else { |
|
4737 |
} else { |
| 4733 |
|
|
4738 |
|
| 4734 |
} |
|
4739 |
} |
| 4735 |
suf ++; |
|
4740 |
suf ++; |
| 4736 |
if ((unsigned int )*suf != (unsigned int )((void *)0)) { |
|
4741 |
if ((unsigned int )*suf != (unsigned int )((void *)0)) { |
| 4737 |
|
|
4742 |
|
| 4738 |
} else { |
|
4743 |
} else { |
| 4739 |
break; |
|
4744 |
break; |
| 4740 |
} |
|
4745 |
} |
| 4741 |
} |
|
4746 |
} |
| 4742 |
return ((char *)((void *)0)); |
|
4747 |
return ((char *)((void *)0)); |
| 4743 |
} |
|
4748 |
} |
| 4744 |
} |
|
4749 |
} |
| 4745 |
static int open_and_stat(char *name , int flags , mode_t mode , struct stat *st ) |
|
4750 |
static int open_and_stat(char *name , int flags , mode_t mode , struct stat *st ) |
| 4746 |
{ |
|
4751 |
{ |
| 4747 |
int fd ; |
|
4752 |
int fd ; |
| 4748 |
int *tmp ; |
|
4753 |
int *tmp ; |
| 4749 |
int __attribute__((__gnu_inline__)) tmp___0 ; |
|
4754 |
int __attribute__((__gnu_inline__)) tmp___0 ; |
| 4750 |
int e ; |
|
4755 |
int e ; |
| 4751 |
int *tmp___1 ; |
|
4756 |
int *tmp___1 ; |
| 4752 |
int *tmp___2 ; |
|
4757 |
int *tmp___2 ; |
| 4753 |
int __attribute__((__gnu_inline__)) tmp___3 ; |
|
4758 |
int __attribute__((__gnu_inline__)) tmp___3 ; |
| 4754 |
|
|
4759 |
|
| 4755 |
{ |
|
4760 |
{ |
| 4756 |
if (! to_stdout) { |
|
4761 |
if (! to_stdout) { |
| 4757 |
if (! force) { |
|
4762 |
if (! force) { |
| 4758 |
flags |= 131072; |
|
4763 |
flags |= 131072; |
| 4759 |
} else { |
|
4764 |
} else { |
| 4760 |
|
|
4765 |
|
| 4761 |
} |
|
4766 |
} |
| 4762 |
} else { |
|
4767 |
} else { |
| 4763 |
|
|
4768 |
|
| 4764 |
} |
|
4769 |
} |
| 4765 |
fd = open_safer((char const *)name, flags, mode); |
|
4770 |
fd = open_safer((char const *)name, flags, mode); |
| 4766 |
if (0 <= fd) { |
|
4771 |
if (0 <= fd) { |
| 4767 |
tmp___3 = fstat(fd, st); |
|
4772 |
tmp___3 = fstat(fd, st); |
| 4768 |
if (tmp___3 != (int __attribute__((__gnu_inline__)) )0) { |
|
4773 |
if (tmp___3 != (int __attribute__((__gnu_inline__)) )0) { |
| 4769 |
tmp___1 = __errno_location(); |
|
4774 |
tmp___1 = __errno_location(); |
| 4770 |
e = *tmp___1; |
|
4775 |
e = *tmp___1; |
| 4771 |
close(fd); |
|
4776 |
close(fd); |
| 4772 |
tmp___2 = __errno_location(); |
|
4777 |
tmp___2 = __errno_location(); |
| 4773 |
*tmp___2 = e; |
|
4778 |
*tmp___2 = e; |
| 4774 |
return (-1); |
|
4779 |
return (-1); |
| 4775 |
} else { |
|
4780 |
} else { |
| 4776 |
|
|
4781 |
|
| 4777 |
} |
|
4782 |
} |
| 4778 |
} else { |
|
4783 |
} else { |
| 4779 |
|
|
4784 |
|
| 4780 |
} |
|
4785 |
} |
| 4781 |
return (fd); |
|
4786 |
return (fd); |
| 4782 |
} |
|
4787 |
} |
| 4783 |
} |
|
4788 |
} |
| 4784 |
static int open_input_file(char *iname , struct stat *sbuf ) ; |
|
4789 |
static int open_input_file(char *iname , struct stat *sbuf ) ; |
| 4785 |
static char *suffixes[6] = { (char *)((void *)0), (char *)".gz", (char *)".z", (char *)"-z", |
|
4790 |
static char *suffixes[6] = { (char *)((void *)0), (char *)".gz", (char *)".z", (char *)"-z", |
| 4786 |
(char *)".Z", (char *)((void *)0)}; |
|
4791 |
(char *)".Z", (char *)((void *)0)}; |
| 4787 |
static int open_input_file(char *iname , struct stat *sbuf ) |
|
4792 |
static int open_input_file(char *iname , struct stat *sbuf ) |
| 4788 |
{ |
|
4793 |
{ |
| 4789 |
int ilen ; |
|
4794 |
int ilen ; |
| 4790 |
int z_suffix_errno ; |
|
4795 |
int z_suffix_errno ; |
| 4791 |
char **suf ; |
|
4796 |
char **suf ; |
| 4792 |
char *s ; |
|
4797 |
char *s ; |
| 4793 |
int fd ; |
|
4798 |
int fd ; |
| 4794 |
int open_flags ; |
|
4799 |
int open_flags ; |
| 4795 |
int tmp ; |
|
4800 |
int tmp ; |
| 4796 |
size_t tmp___0 ; |
|
4801 |
size_t tmp___0 ; |
| 4797 |
int *tmp___1 ; |
|
4802 |
int *tmp___1 ; |
| 4798 |
size_t tmp___2 ; |
|
4803 |
size_t tmp___2 ; |
| 4799 |
size_t __s1_len ; |
|
4804 |
size_t __s1_len ; |
| 4800 |
size_t __s2_len ; |
|
4805 |
size_t __s2_len ; |
| 4801 |
int tmp___3 ; |
|
4806 |
int tmp___3 ; |
| 4802 |
int tmp___4 ; |
|
4807 |
int tmp___4 ; |
| 4803 |
int tmp___5 ; |
|
4808 |
int tmp___5 ; |
| 4804 |
unsigned char const *__s2 ; |
|
4809 |
unsigned char const *__s2 ; |
| 4805 |
register int __result ; |
|
4810 |
register int __result ; |
| 4806 |
int tmp___6 ; |
|
4811 |
int tmp___6 ; |
| 4807 |
unsigned char const *__s1 ; |
|
4812 |
unsigned char const *__s1 ; |
| 4808 |
register int __result___0 ; |
|
4813 |
register int __result___0 ; |
| 4809 |
int tmp___7 ; |
|
4814 |
int tmp___7 ; |
| 4810 |
int tmp___8 ; |
|
4815 |
int tmp___8 ; |
| 4811 |
int tmp___9 ; |
|
4816 |
int tmp___9 ; |
| 4812 |
char *s0 ; |
|
4817 |
char *s0 ; |
| 4813 |
size_t tmp___10 ; |
|
4818 |
size_t tmp___10 ; |
| 4814 |
int *tmp___11 ; |
|
4819 |
int *tmp___11 ; |
| 4815 |
int *tmp___12 ; |
|
4820 |
int *tmp___12 ; |
| 4816 |
size_t __s1_len___0 ; |
|
4821 |
size_t __s1_len___0 ; |
| 4817 |
size_t __s2_len___0 ; |
|
4822 |
size_t __s2_len___0 ; |
| 4818 |
int tmp___13 ; |
|
4823 |
int tmp___13 ; |
| 4819 |
int tmp___14 ; |
|
4824 |
int tmp___14 ; |
| 4820 |
int tmp___15 ; |
|
4825 |
int tmp___15 ; |
| 4821 |
unsigned char const *__s2___0 ; |
|
4826 |
unsigned char const *__s2___0 ; |
| 4822 |
register int __result___1 ; |
|
4827 |
register int __result___1 ; |
| 4823 |
int tmp___16 ; |
|
4828 |
int tmp___16 ; |
| 4824 |
unsigned char const *__s1___0 ; |
|
4829 |
unsigned char const *__s1___0 ; |
| 4825 |
register int __result___2 ; |
|
4830 |
register int __result___2 ; |
| 4826 |
int tmp___17 ; |
|
4831 |
int tmp___17 ; |
| 4827 |
int tmp___18 ; |
|
4832 |
int tmp___18 ; |
| 4828 |
int tmp___19 ; |
|
4833 |
int tmp___19 ; |
| 4829 |
int *tmp___20 ; |
|
4834 |
int *tmp___20 ; |
| 4830 |
|
|
4835 |
|
| 4831 |
{ |
|
4836 |
{ |
| 4832 |
z_suffix_errno = 0; |
|
4837 |
z_suffix_errno = 0; |
| 4833 |
suf = suffixes; |
|
4838 |
suf = suffixes; |
| 4834 |
if (ascii) { |
|
4839 |
if (ascii) { |
| 4835 |
if (! decompress) { |
|
4840 |
if (! decompress) { |
| 4836 |
tmp = 0; |
|
4841 |
tmp = 0; |
| 4837 |
} else { |
|
4842 |
} else { |
| 4838 |
tmp = 0; |
|
4843 |
tmp = 0; |
| 4839 |
} |
|
4844 |
} |
| 4840 |
} else { |
|
4845 |
} else { |
| 4841 |
tmp = 0; |
|
4846 |
tmp = 0; |
| 4842 |
} |
|
4847 |
} |
| 4843 |
open_flags = 2304 | tmp; |
|
4848 |
open_flags = 2304 | tmp; |
| 4844 |
*suf = z_suffix; |
|
4849 |
*suf = z_suffix; |
| 4845 |
tmp___0 = strlen((char const *)iname); |
|
4850 |
tmp___0 = strlen((char const *)iname); |
| 4846 |
if (sizeof(ifname) - 1U <= tmp___0) { |
|
4851 |
if (sizeof(ifname) - 1U <= tmp___0) { |
| 4847 |
goto name_too_long; |
|
4852 |
goto name_too_long; |
| 4848 |
} else { |
|
4853 |
} else { |
| 4849 |
|
|
4854 |
|
| 4850 |
} |
|
4855 |
} |
| 4851 |
strcpy((char *)(ifname), |
|
4856 |
strcpy((char *)(ifname), |
| 4852 |
(char const *)iname); |
|
4857 |
(char const *)iname); |
| 4853 |
fd = open_and_stat(ifname, open_flags, (mode_t )384, sbuf); |
|
4858 |
fd = open_and_stat(ifname, open_flags, (mode_t )384, sbuf); |
| 4854 |
if (0 <= fd) { |
|
4859 |
if (0 <= fd) { |
| 4855 |
return (fd); |
|
4860 |
return (fd); |
| 4856 |
} else { |
|
4861 |
} else { |
| 4857 |
|
|
4862 |
|
| 4858 |
} |
|
4863 |
} |
| 4859 |
if (! decompress) { |
|
4864 |
if (! decompress) { |
| 4860 |
progerror(ifname); |
|
4865 |
progerror(ifname); |
| 4861 |
return (-1); |
|
4866 |
return (-1); |
| 4862 |
} else { |
|
4867 |
} else { |
| 4863 |
tmp___1 = __errno_location(); |
|
4868 |
tmp___1 = __errno_location(); |
| 4864 |
if (*tmp___1 != 2) { |
|
4869 |
if (*tmp___1 != 2) { |
| 4865 |
progerror(ifname); |
|
4870 |
progerror(ifname); |
| 4866 |
return (-1); |
|
4871 |
return (-1); |
| 4867 |
} else { |
|
4872 |
} else { |
| 4868 |
|
|
4873 |
|
| 4869 |
} |
|
4874 |
} |
| 4870 |
} |
|
4875 |
} |
| 4871 |
s = get_suffix(ifname); |
|
4876 |
s = get_suffix(ifname); |
| 4872 |
if ((unsigned int )s != (unsigned int )((void *)0)) { |
|
4877 |
if ((unsigned int )s != (unsigned int )((void *)0)) { |
| 4873 |
progerror(ifname); |
|
4878 |
progerror(ifname); |
| 4874 |
return (-1); |
|
4879 |
return (-1); |
| 4875 |
} else { |
|
4880 |
} else { |
| 4876 |
|
|
4881 |
|
| 4877 |
} |
|
4882 |
} |
| 4878 |
tmp___2 = strlen((char const *)(ifname)); |
|
4883 |
tmp___2 = strlen((char const *)(ifname)); |
| 4879 |
ilen = (int )tmp___2; |
|
4884 |
ilen = (int )tmp___2; |
| 4880 |
if (0) { |
|
4885 |
if (0) { |
| 4881 |
__s1_len = strlen((char const *)z_suffix); |
|
4886 |
__s1_len = strlen((char const *)z_suffix); |
| 4882 |
__s2_len = strlen(".gz"); |
|
4887 |
__s2_len = strlen(".gz"); |
| 4883 |
if (! ((size_t )((void const *)(z_suffix + 1)) - (size_t )((void const *)z_suffix) == 1U)) { |
|
4888 |
if (! ((size_t )((void const *)(z_suffix + 1)) - (size_t )((void const *)z_suffix) == 1U)) { |
| 4884 |
goto _L___0; |
|
4889 |
goto _L___0; |
| 4885 |
} else |
|
4890 |
} else |
| 4886 |
if (__s1_len >= 4U) { |
|
4891 |
if (__s1_len >= 4U) { |
| 4887 |
_L___0: |
|
4892 |
_L___0: |
| 4888 |
if (! ((size_t )((void const *)(".gz" + 1)) - (size_t )((void const *)".gz") == 1U)) { |
|
4893 |
if (! ((size_t )((void const *)(".gz" + 1)) - (size_t )((void const *)".gz") == 1U)) { |
| 4889 |
tmp___9 = 1; |
|
4894 |
tmp___9 = 1; |
| 4890 |
} else |
|
4895 |
} else |
| 4891 |
if (__s2_len >= 4U) { |
|
4896 |
if (__s2_len >= 4U) { |
| 4892 |
tmp___9 = 1; |
|
4897 |
tmp___9 = 1; |
| 4893 |
} else { |
|
4898 |
} else { |
| 4894 |
tmp___9 = 0; |
|
4899 |
tmp___9 = 0; |
| 4895 |
} |
|
4900 |
} |
| 4896 |
} else { |
|
4901 |
} else { |
| 4897 |
tmp___9 = 0; |
|
4902 |
tmp___9 = 0; |
| 4898 |
} |
|
4903 |
} |
| 4899 |
if (tmp___9) { |
|
4904 |
if (tmp___9) { |
| 4900 |
tmp___4 = __builtin_strcmp((char const *)z_suffix, ".gz"); |
|
4905 |
tmp___4 = __builtin_strcmp((char const *)z_suffix, ".gz"); |
| 4901 |
tmp___8 = tmp___4; |
|
4906 |
tmp___8 = tmp___4; |
| 4902 |
} else { |
|
4907 |
} else { |
| 4903 |
tmp___7 = __builtin_strcmp((char const *)z_suffix, ".gz"); |
|
4908 |
tmp___7 = __builtin_strcmp((char const *)z_suffix, ".gz"); |
| 4904 |
tmp___8 = tmp___7; |
|
4909 |
tmp___8 = tmp___7; |
| 4905 |
} |
|
4910 |
} |
| 4906 |
} else { |
|
4911 |
} else { |
| 4907 |
tmp___7 = __builtin_strcmp((char const *)z_suffix, ".gz"); |
|
4912 |
tmp___7 = __builtin_strcmp((char const *)z_suffix, ".gz"); |
| 4908 |
tmp___8 = tmp___7; |
|
4913 |
tmp___8 = tmp___7; |
| 4909 |
} |
|
4914 |
} |
| 4910 |
if (tmp___8 == 0) { |
|
4915 |
if (tmp___8 == 0) { |
| 4911 |
suf ++; |
|
4916 |
suf ++; |
| 4912 |
} else { |
|
4917 |
} else { |
| 4913 |
|
|
4918 |
|
| 4914 |
} |
|
4919 |
} |
| 4915 |
while (1) { |
|
4920 |
while (1) { |
| 4916 |
s = *suf; |
|
4921 |
s = *suf; |
| 4917 |
s0 = s; |
|
4922 |
s0 = s; |
| 4918 |
strcpy((char *)(ifname), |
|
4923 |
strcpy((char *)(ifname), |
| 4919 |
(char const *)iname); |
|
4924 |
(char const *)iname); |
| 4920 |
tmp___10 = strlen((char const *)s); |
|
4925 |
tmp___10 = strlen((char const *)s); |
| 4921 |
if (sizeof(ifname) <= (size_t )ilen + tmp___10) { |
|
4926 |
if (sizeof(ifname) <= (size_t )ilen + tmp___10) { |
| 4922 |
goto name_too_long; |
|
4927 |
goto name_too_long; |
| 4923 |
} else { |
|
4928 |
} else { |
| 4924 |
|
|
4929 |
|
| 4925 |
} |
|
4930 |
} |
| 4926 |
strcat((char *)(ifname), (char const *)s); |
|
4931 |
strcat((char *)(ifname), (char const *)s); |
| 4927 |
fd = open_and_stat(ifname, open_flags, (mode_t )384, sbuf); |
|
4932 |
fd = open_and_stat(ifname, open_flags, (mode_t )384, sbuf); |
| 4928 |
if (0 <= fd) { |
|
4933 |
if (0 <= fd) { |
| 4929 |
return (fd); |
|
4934 |
return (fd); |
| 4930 |
} else { |
|
4935 |
} else { |
| 4931 |
|
|
4936 |
|
| 4932 |
} |
|
4937 |
} |
| 4933 |
tmp___11 = __errno_location(); |
|
4938 |
tmp___11 = __errno_location(); |
| 4934 |
if (*tmp___11 != 2) { |
|
4939 |
if (*tmp___11 != 2) { |
| 4935 |
progerror(ifname); |
|
4940 |
progerror(ifname); |
| 4936 |
return (-1); |
|
4941 |
return (-1); |
| 4937 |
} else { |
|
4942 |
} else { |
| 4938 |
|
|
4943 |
|
| 4939 |
} |
|
4944 |
} |
| 4940 |
if (0) { |
|
4945 |
if (0) { |
| 4941 |
__s1_len___0 = strlen((char const *)s0); |
|
4946 |
__s1_len___0 = strlen((char const *)s0); |
| 4942 |
__s2_len___0 = strlen((char const *)z_suffix); |
|
4947 |
__s2_len___0 = strlen((char const *)z_suffix); |
| 4943 |
if (! ((size_t )((void const *)(s0 + 1)) - (size_t )((void const *)s0) == 1U)) { |
|
4948 |
if (! ((size_t )((void const *)(s0 + 1)) - (size_t )((void const *)s0) == 1U)) { |
| 4944 |
goto _L___2; |
|
4949 |
goto _L___2; |
| 4945 |
} else |
|
4950 |
} else |
| 4946 |
if (__s1_len___0 >= 4U) { |
|
4951 |
if (__s1_len___0 >= 4U) { |
| 4947 |
_L___2: |
|
4952 |
_L___2: |
| 4948 |
if (! ((size_t )((void const *)(z_suffix + 1)) - (size_t )((void const *)z_suffix) == 1U)) { |
|
4953 |
if (! ((size_t )((void const *)(z_suffix + 1)) - (size_t )((void const *)z_suffix) == 1U)) { |
| 4949 |
tmp___19 = 1; |
|
4954 |
tmp___19 = 1; |
| 4950 |
} else |
|
4955 |
} else |
| 4951 |
if (__s2_len___0 >= 4U) { |
|
4956 |
if (__s2_len___0 >= 4U) { |
| 4952 |
tmp___19 = 1; |
|
4957 |
tmp___19 = 1; |
| 4953 |
} else { |
|
4958 |
} else { |
| 4954 |
tmp___19 = 0; |
|
4959 |
tmp___19 = 0; |
| 4955 |
} |
|
4960 |
} |
| 4956 |
} else { |
|
4961 |
} else { |
| 4957 |
tmp___19 = 0; |
|
4962 |
tmp___19 = 0; |
| 4958 |
} |
|
4963 |
} |
| 4959 |
if (tmp___19) { |
|
4964 |
if (tmp___19) { |
| 4960 |
tmp___14 = __builtin_strcmp((char const *)s0, (char const *)z_suffix); |
|
4965 |
tmp___14 = __builtin_strcmp((char const *)s0, (char const *)z_suffix); |
| 4961 |
tmp___18 = tmp___14; |
|
4966 |
tmp___18 = tmp___14; |
| 4962 |
} else { |
|
4967 |
} else { |
| 4963 |
tmp___17 = __builtin_strcmp((char const *)s0, (char const *)z_suffix); |
|
4968 |
tmp___17 = __builtin_strcmp((char const *)s0, (char const *)z_suffix); |
| 4964 |
tmp___18 = tmp___17; |
|
4969 |
tmp___18 = tmp___17; |
| 4965 |
} |
|
4970 |
} |
| 4966 |
} else { |
|
4971 |
} else { |
| 4967 |
tmp___17 = __builtin_strcmp((char const *)s0, (char const *)z_suffix); |
|
4972 |
tmp___17 = __builtin_strcmp((char const *)s0, (char const *)z_suffix); |
| 4968 |
tmp___18 = tmp___17; |
|
4973 |
tmp___18 = tmp___17; |
| 4969 |
} |
|
4974 |
} |
| 4970 |
if (tmp___18 == 0) { |
|
4975 |
if (tmp___18 == 0) { |
| 4971 |
tmp___12 = __errno_location(); |
|
4976 |
tmp___12 = __errno_location(); |
| 4972 |
z_suffix_errno = *tmp___12; |
|
4977 |
z_suffix_errno = *tmp___12; |
| 4973 |
} else { |
|
4978 |
} else { |
| 4974 |
|
|
4979 |
|
| 4975 |
} |
|
4980 |
} |
| 4976 |
suf ++; |
|
4981 |
suf ++; |
| 4977 |
if ((unsigned int )*suf != (unsigned int )((void *)0)) { |
|
4982 |
if ((unsigned int )*suf != (unsigned int )((void *)0)) { |
| 4978 |
|
|
4983 |
|
| 4979 |
} else { |
|
4984 |
} else { |
| 4980 |
break; |
|
4985 |
break; |
| 4981 |
} |
|
4986 |
} |
| 4982 |
} |
|
4987 |
} |
| 4983 |
strcpy((char *)(ifname), |
|
4988 |
strcpy((char *)(ifname), |
| 4984 |
(char const *)iname); |
|
4989 |
(char const *)iname); |
| 4985 |
strcat((char *)(ifname), |
|
4990 |
strcat((char *)(ifname), |
| 4986 |
(char const *)z_suffix); |
|
4991 |
(char const *)z_suffix); |
| 4987 |
tmp___20 = __errno_location(); |
|
4992 |
tmp___20 = __errno_location(); |
| 4988 |
*tmp___20 = z_suffix_errno; |
|
4993 |
*tmp___20 = z_suffix_errno; |
| 4989 |
progerror(ifname); |
|
4994 |
progerror(ifname); |
| 4990 |
return (-1); |
|
4995 |
return (-1); |
| 4991 |
name_too_long: |
|
4996 |
name_too_long: |
| 4992 |
fprintf((FILE *)stderr, |
|
4997 |
fprintf((FILE *)stderr, |
| 4993 |
(char const *)"%s: %s: file name too long\n", |
|
4998 |
(char const *)"%s: %s: file name too long\n", |
| 4994 |
program_name, iname); |
|
4999 |
program_name, iname); |
| 4995 |
exit_code = 1; |
|
5000 |
exit_code = 1; |
| 4996 |
return (-1); |
|
5001 |
return (-1); |
| 4997 |
} |
|
5002 |
} |
| 4998 |
} |
|
5003 |
} |
| 4999 |
static int make_ofname(void) |
|
5004 |
static int make_ofname(void) |
| 5000 |
{ |
|
5005 |
{ |
| 5001 |
char *suff ; |
|
5006 |
char *suff ; |
| 5002 |
size_t __s1_len ; |
|
5007 |
size_t __s1_len ; |
| 5003 |
size_t __s2_len ; |
|
5008 |
size_t __s2_len ; |
| 5004 |
int tmp ; |
|
5009 |
int tmp ; |
| 5005 |
int tmp___0 ; |
|
5010 |
int tmp___0 ; |
| 5006 |
int tmp___1 ; |
|
5011 |
int tmp___1 ; |
| 5007 |
unsigned char const *__s2 ; |
|
5012 |
unsigned char const *__s2 ; |
| 5008 |
register int __result ; |
|
5013 |
register int __result ; |
| 5009 |
int tmp___2 ; |
|
5014 |
int tmp___2 ; |
| 5010 |
unsigned char const *__s1 ; |
|
5015 |
unsigned char const *__s1 ; |
| 5011 |
register int __result___0 ; |
|
5016 |
register int __result___0 ; |
| 5012 |
int tmp___3 ; |
|
5017 |
int tmp___3 ; |
| 5013 |
int tmp___4 ; |
|
5018 |
int tmp___4 ; |
| 5014 |
int tmp___5 ; |
|
5019 |
int tmp___5 ; |
| 5015 |
size_t __s1_len___0 ; |
|
5020 |
size_t __s1_len___0 ; |
| 5016 |
size_t __s2_len___0 ; |
|
5021 |
size_t __s2_len___0 ; |
| 5017 |
int tmp___6 ; |
|
5022 |
int tmp___6 ; |
| 5018 |
int tmp___7 ; |
|
5023 |
int tmp___7 ; |
| 5019 |
int tmp___8 ; |
|
5024 |
int tmp___8 ; |
| 5020 |
unsigned char const *__s2___0 ; |
|
5025 |
unsigned char const *__s2___0 ; |
| 5021 |
register int __result___1 ; |
|
5026 |
register int __result___1 ; |
| 5022 |
int tmp___9 ; |
|
5027 |
int tmp___9 ; |
| 5023 |
unsigned char const *__s1___0 ; |
|
5028 |
unsigned char const *__s1___0 ; |
| 5024 |
register int __result___2 ; |
|
5029 |
register int __result___2 ; |
| 5025 |
int tmp___10 ; |
|
5030 |
int tmp___10 ; |
| 5026 |
int tmp___11 ; |
|
5031 |
int tmp___11 ; |
| 5027 |
int tmp___12 ; |
|
5032 |
int tmp___12 ; |
| 5028 |
size_t tmp___13 ; |
|
5033 |
size_t tmp___13 ; |
| 5029 |
|
|
5034 |
|
| 5030 |
{ |
|
5035 |
{ |
| 5031 |
strcpy((char *)(ofname), |
|
5036 |
strcpy((char *)(ofname), |
| 5032 |
(char const *)(ifname)); |
|
5037 |
(char const *)(ifname)); |
| 5033 |
suff = get_suffix(ofname); |
|
5038 |
suff = get_suffix(ofname); |
| 5034 |
if (decompress) { |
|
5039 |
if (decompress) { |
| 5035 |
if ((unsigned int )suff == (unsigned int )((void *)0)) { |
|
5040 |
if ((unsigned int )suff == (unsigned int )((void *)0)) { |
| 5036 |
if (! recursive) { |
|
5041 |
if (! recursive) { |
| 5037 |
if (list) { |
|
5042 |
if (list) { |
| 5038 |
return (0); |
|
5043 |
return (0); |
| 5039 |
} else |
|
5044 |
} else |
| 5040 |
if (test) { |
|
5045 |
if (test) { |
| 5041 |
return (0); |
|
5046 |
return (0); |
| 5042 |
} else { |
|
5047 |
} else { |
| 5043 |
|
|
5048 |
|
| 5044 |
} |
|
5049 |
} |
| 5045 |
} else { |
|
5050 |
} else { |
| 5046 |
|
|
5051 |
|
| 5047 |
} |
|
5052 |
} |
| 5048 |
if (verbose) { |
|
5053 |
if (verbose) { |
| 5049 |
goto _L; |
|
5054 |
goto _L; |
| 5050 |
} else |
|
5055 |
} else |
| 5051 |
if (! recursive) { |
|
5056 |
if (! recursive) { |
| 5052 |
if (! quiet) { |
|
5057 |
if (! quiet) { |
| 5053 |
_L: |
|
5058 |
_L: |
| 5054 |
if (! quiet) { |
|
5059 |
if (! quiet) { |
| 5055 |
fprintf((FILE *)stderr, |
|
5060 |
fprintf((FILE *)stderr, |
| 5056 |
(char const *)"%s: %s: unknown suffix -- ignored\n", |
|
5061 |
(char const *)"%s: %s: unknown suffix -- ignored\n", |
| 5057 |
program_name, ifname); |
|
5062 |
program_name, ifname); |
| 5058 |
} else { |
|
5063 |
} else { |
| 5059 |
|
|
5064 |
|
| 5060 |
} |
|
5065 |
} |
| 5061 |
if (exit_code == 0) { |
|
5066 |
if (exit_code == 0) { |
| 5062 |
exit_code = 2; |
|
5067 |
exit_code = 2; |
| 5063 |
} else { |
|
5068 |
} else { |
| 5064 |
|
|
5069 |
|
| 5065 |
} |
|
5070 |
} |
| 5066 |
} else { |
|
5071 |
} else { |
| 5067 |
|
|
5072 |
|
| 5068 |
} |
|
5073 |
} |
| 5069 |
} else { |
|
5074 |
} else { |
| 5070 |
|
|
5075 |
|
| 5071 |
} |
|
5076 |
} |
| 5072 |
return (2); |
|
5077 |
return (2); |
| 5073 |
} else { |
|
5078 |
} else { |
| 5074 |
|
|
5079 |
|
| 5075 |
} |
|
5080 |
} |
| 5076 |
strlwr(suff); |
|
5081 |
strlwr(suff); |
| 5077 |
if (0) { |
|
5082 |
if (0) { |
| 5078 |
__s1_len = strlen((char const *)suff); |
|
5083 |
__s1_len = strlen((char const *)suff); |
| 5079 |
__s2_len = strlen(".tgz"); |
|
5084 |
__s2_len = strlen(".tgz"); |
| 5080 |
if (! ((size_t )((void const *)(suff + 1)) - (size_t )((void const *)suff) == 1U)) { |
|
5085 |
if (! ((size_t )((void const *)(suff + 1)) - (size_t )((void const *)suff) == 1U)) { |
| 5081 |
goto _L___1; |
|
5086 |
goto _L___1; |
| 5082 |
} else |
|
5087 |
} else |
| 5083 |
if (__s1_len >= 4U) { |
|
5088 |
if (__s1_len >= 4U) { |
| 5084 |
_L___1: |
|
5089 |
_L___1: |
| 5085 |
if (! ((size_t )((void const *)(".tgz" + 1)) - (size_t )((void const *)".tgz") == 1U)) { |
|
5090 |
if (! ((size_t )((void const *)(".tgz" + 1)) - (size_t )((void const *)".tgz") == 1U)) { |
| 5086 |
tmp___5 = 1; |
|
5091 |
tmp___5 = 1; |
| 5087 |
} else |
|
5092 |
} else |
| 5088 |
if (__s2_len >= 4U) { |
|
5093 |
if (__s2_len >= 4U) { |
| 5089 |
tmp___5 = 1; |
|
5094 |
tmp___5 = 1; |
| 5090 |
} else { |
|
5095 |
} else { |
| 5091 |
tmp___5 = 0; |
|
5096 |
tmp___5 = 0; |
| 5092 |
} |
|
5097 |
} |
| 5093 |
} else { |
|
5098 |
} else { |
| 5094 |
tmp___5 = 0; |
|
5099 |
tmp___5 = 0; |
| 5095 |
} |
|
5100 |
} |
| 5096 |
if (tmp___5) { |
|
5101 |
if (tmp___5) { |
| 5097 |
tmp___0 = __builtin_strcmp((char const *)suff, ".tgz"); |
|
5102 |
tmp___0 = __builtin_strcmp((char const *)suff, ".tgz"); |
| 5098 |
tmp___4 = tmp___0; |
|
5103 |
tmp___4 = tmp___0; |
| 5099 |
} else { |
|
5104 |
} else { |
| 5100 |
tmp___3 = __builtin_strcmp((char const *)suff, ".tgz"); |
|
5105 |
tmp___3 = __builtin_strcmp((char const *)suff, ".tgz"); |
| 5101 |
tmp___4 = tmp___3; |
|
5106 |
tmp___4 = tmp___3; |
| 5102 |
} |
|
5107 |
} |
| 5103 |
} else { |
|
5108 |
} else { |
| 5104 |
tmp___3 = __builtin_strcmp((char const *)suff, ".tgz"); |
|
5109 |
tmp___3 = __builtin_strcmp((char const *)suff, ".tgz"); |
| 5105 |
tmp___4 = tmp___3; |
|
5110 |
tmp___4 = tmp___3; |
| 5106 |
} |
|
5111 |
} |
| 5107 |
if (tmp___4 == 0) { |
|
5112 |
if (tmp___4 == 0) { |
| 5108 |
strcpy((char *)suff, |
|
5113 |
strcpy((char *)suff, |
| 5109 |
(char const *)".tar"); |
|
5114 |
(char const *)".tar"); |
| 5110 |
} else { |
|
5115 |
} else { |
| 5111 |
if (0) { |
|
5116 |
if (0) { |
| 5112 |
__s1_len___0 = strlen((char const *)suff); |
|
5117 |
__s1_len___0 = strlen((char const *)suff); |
| 5113 |
__s2_len___0 = strlen(".taz"); |
|
5118 |
__s2_len___0 = strlen(".taz"); |
| 5114 |
if (! ((size_t )((void const *)(suff + 1)) - (size_t )((void const *)suff) == 1U)) { |
|
5119 |
if (! ((size_t )((void const *)(suff + 1)) - (size_t )((void const *)suff) == 1U)) { |
| 5115 |
goto _L___3; |
|
5120 |
goto _L___3; |
| 5116 |
} else |
|
5121 |
} else |
| 5117 |
if (__s1_len___0 >= 4U) { |
|
5122 |
if (__s1_len___0 >= 4U) { |
| 5118 |
_L___3: |
|
5123 |
_L___3: |
| 5119 |
if (! ((size_t )((void const *)(".taz" + 1)) - (size_t )((void const *)".taz") == 1U)) { |
|
5124 |
if (! ((size_t )((void const *)(".taz" + 1)) - (size_t )((void const *)".taz") == 1U)) { |
| 5120 |
tmp___12 = 1; |
|
5125 |
tmp___12 = 1; |
| 5121 |
} else |
|
5126 |
} else |
| 5122 |
if (__s2_len___0 >= 4U) { |
|
5127 |
if (__s2_len___0 >= 4U) { |
| 5123 |
tmp___12 = 1; |
|
5128 |
tmp___12 = 1; |
| 5124 |
} else { |
|
5129 |
} else { |
| 5125 |
tmp___12 = 0; |
|
5130 |
tmp___12 = 0; |
| 5126 |
} |
|
5131 |
} |
| 5127 |
} else { |
|
5132 |
} else { |
| 5128 |
tmp___12 = 0; |
|
5133 |
tmp___12 = 0; |
| 5129 |
} |
|
5134 |
} |
| 5130 |
if (tmp___12) { |
|
5135 |
if (tmp___12) { |
| 5131 |
tmp___7 = __builtin_strcmp((char const *)suff, ".taz"); |
|
5136 |
tmp___7 = __builtin_strcmp((char const *)suff, ".taz"); |
| 5132 |
tmp___11 = tmp___7; |
|
5137 |
tmp___11 = tmp___7; |
| 5133 |
} else { |
|
5138 |
} else { |
| 5134 |
tmp___10 = __builtin_strcmp((char const *)suff, ".taz"); |
|
5139 |
tmp___10 = __builtin_strcmp((char const *)suff, ".taz"); |
| 5135 |
tmp___11 = tmp___10; |
|
5140 |
tmp___11 = tmp___10; |
| 5136 |
} |
|
5141 |
} |
| 5137 |
} else { |
|
5142 |
} else { |
| 5138 |
tmp___10 = __builtin_strcmp((char const *)suff, ".taz"); |
|
5143 |
tmp___10 = __builtin_strcmp((char const *)suff, ".taz"); |
| 5139 |
tmp___11 = tmp___10; |
|
5144 |
tmp___11 = tmp___10; |
| 5140 |
} |
|
5145 |
} |
| 5141 |
if (tmp___11 == 0) { |
|
5146 |
if (tmp___11 == 0) { |
| 5142 |
strcpy((char *)suff, |
|
5147 |
strcpy((char *)suff, |
| 5143 |
(char const *)".tar"); |
|
5148 |
(char const *)".tar"); |
| 5144 |
} else { |
|
5149 |
} else { |
| 5145 |
*suff = (char )'\000'; |
|
5150 |
*suff = (char )'\000'; |
| 5146 |
} |
|
5151 |
} |
| 5147 |
} |
|
5152 |
} |
| 5148 |
} else |
|
5153 |
} else |
| 5149 |
if (suff) { |
|
5154 |
if (suff) { |
| 5150 |
if (! force) { |
|
5155 |
if (! force) { |
| 5151 |
if (verbose) { |
|
5156 |
if (verbose) { |
| 5152 |
fprintf((FILE *)stderr, |
|
5157 |
fprintf((FILE *)stderr, |
| 5153 |
(char const *)"%s: %s already has %s suffix -- unchanged\n", |
|
5158 |
(char const *)"%s: %s already has %s suffix -- unchanged\n", |
| 5154 |
program_name, ifname, suff); |
|
5159 |
program_name, ifname, suff); |
| 5155 |
} else |
|
5160 |
} else |
| 5156 |
if (! recursive) { |
|
5161 |
if (! recursive) { |
| 5157 |
if (! quiet) { |
|
5162 |
if (! quiet) { |
| 5158 |
fprintf((FILE *)stderr, |
|
5163 |
fprintf((FILE *)stderr, |
| 5159 |
(char const *)"%s: %s already has %s suffix -- unchanged\n", |
|
5164 |
(char const *)"%s: %s already has %s suffix -- unchanged\n", |
| 5160 |
program_name, ifname, suff); |
|
5165 |
program_name, ifname, suff); |
| 5161 |
} else { |
|
5166 |
} else { |
| 5162 |
|
|
5167 |
|
| 5163 |
} |
|
5168 |
} |
| 5164 |
} else { |
|
5169 |
} else { |
| 5165 |
|
|
5170 |
|
| 5166 |
} |
|
5171 |
} |
| 5167 |
return (2); |
|
5172 |
return (2); |
| 5168 |
} else { |
|
5173 |
} else { |
| 5169 |
goto _L___4; |
|
5174 |
goto _L___4; |
| 5170 |
} |
|
5175 |
} |
| 5171 |
} else { |
|
5176 |
} else { |
| 5172 |
_L___4: |
|
5177 |
_L___4: |
| 5173 |
save_orig_name = 0; |
|
5178 |
save_orig_name = 0; |
| 5174 |
tmp___13 = strlen((char const *)(ofname)); |
|
5179 |
tmp___13 = strlen((char const *)(ofname)); |
| 5175 |
if (sizeof(ofname) <= tmp___13 + z_len) { |
|
5180 |
if (sizeof(ofname) <= tmp___13 + z_len) { |
| 5176 |
goto name_too_long; |
|
5181 |
goto name_too_long; |
| 5177 |
} else { |
|
5182 |
} else { |
| 5178 |
|
|
5183 |
|
| 5179 |
} |
|
5184 |
} |
| 5180 |
strcat((char *)(ofname), |
|
5185 |
strcat((char *)(ofname), |
| 5181 |
(char const *)z_suffix); |
|
5186 |
(char const *)z_suffix); |
| 5182 |
} |
|
5187 |
} |
| 5183 |
return (0); |
|
5188 |
return (0); |
| 5184 |
name_too_long: |
|
5189 |
name_too_long: |
| 5185 |
if (! quiet) { |
|
5190 |
if (! quiet) { |
| 5186 |
fprintf((FILE *)stderr, |
|
5191 |
fprintf((FILE *)stderr, |
| 5187 |
(char const *)"%s: %s: file name too long\n", |
|
5192 |
(char const *)"%s: %s: file name too long\n", |
| 5188 |
program_name, ifname); |
|
5193 |
program_name, ifname); |
| 5189 |
} else { |
|
5194 |
} else { |
| 5190 |
|
|
5195 |
|
| 5191 |
} |
|
5196 |
} |
| 5192 |
if (exit_code == 0) { |
|
5197 |
if (exit_code == 0) { |
| 5193 |
exit_code = 2; |
|
5198 |
exit_code = 2; |
| 5194 |
} else { |
|
5199 |
} else { |
| 5195 |
|
|
5200 |
|
| 5196 |
} |
|
5201 |
} |
| 5197 |
return (2); |
|
5202 |
return (2); |
| 5198 |
} |
|
5203 |
} |
| 5199 |
} |
|
5204 |
} |
| 5200 |
static int get_method(int in ) |
|
5205 |
static int get_method(int in ) |
| 5201 |
{ |
|
5206 |
{ |
| 5202 |
uch flags ; |
|
5207 |
uch flags ; |
| 5203 |
char magic[2] ; |
|
5208 |
char magic[2] ; |
| 5204 |
int imagic1 ; |
|
5209 |
int imagic1 ; |
| 5205 |
ulg stamp ; |
|
5210 |
ulg stamp ; |
| 5206 |
unsigned int tmp ; |
|
5211 |
unsigned int tmp ; |
| 5207 |
int tmp___0 ; |
|
5212 |
int tmp___0 ; |
| 5208 |
int tmp___1 ; |
|
5213 |
int tmp___1 ; |
| 5209 |
unsigned int tmp___2 ; |
|
5214 |
unsigned int tmp___2 ; |
| 5210 |
int tmp___3 ; |
|
5215 |
int tmp___3 ; |
| 5211 |
unsigned int tmp___4 ; |
|
5216 |
unsigned int tmp___4 ; |
| 5212 |
int tmp___5 ; |
|
5217 |
int tmp___5 ; |
| 5213 |
int tmp___6 ; |
|
5218 |
int tmp___6 ; |
| 5214 |
unsigned int tmp___7 ; |
|
5219 |
unsigned int tmp___7 ; |
| 5215 |
int tmp___8 ; |
|
5220 |
int tmp___8 ; |
| 5216 |
int tmp___9 ; |
|
5221 |
int tmp___9 ; |
| 5217 |
unsigned int tmp___10 ; |
|
5222 |
unsigned int tmp___10 ; |
| 5218 |
int tmp___11 ; |
|
5223 |
int tmp___11 ; |
| 5219 |
int tmp___12 ; |
|
5224 |
int tmp___12 ; |
| 5220 |
unsigned int tmp___13 ; |
|
5225 |
unsigned int tmp___13 ; |
| 5221 |
int tmp___14 ; |
|
5226 |
int tmp___14 ; |
| 5222 |
int tmp___15 ; |
|
5227 |
int tmp___15 ; |
| 5223 |
unsigned int tmp___16 ; |
|
5228 |
unsigned int tmp___16 ; |
| 5224 |
int tmp___17 ; |
|
5229 |
int tmp___17 ; |
| 5225 |
int tmp___18 ; |
|
5230 |
int tmp___18 ; |
| 5226 |
unsigned int tmp___19 ; |
|
5231 |
unsigned int tmp___19 ; |
| 5227 |
int tmp___20 ; |
|
5232 |
int tmp___20 ; |
| 5228 |
int tmp___21 ; |
|
5233 |
int tmp___21 ; |
| 5229 |
unsigned int tmp___22 ; |
|
5234 |
unsigned int tmp___22 ; |
| 5230 |
int tmp___23 ; |
|
5235 |
int tmp___23 ; |
| 5231 |
int tmp___24 ; |
|
5236 |
int tmp___24 ; |
| 5232 |
unsigned int tmp___25 ; |
|
5237 |
unsigned int tmp___25 ; |
| 5233 |
int tmp___26 ; |
|
5238 |
int tmp___26 ; |
| 5234 |
int tmp___27 ; |
|
5239 |
int tmp___27 ; |
| 5235 |
unsigned int tmp___28 ; |
|
5240 |
unsigned int tmp___28 ; |
| 5236 |
unsigned int tmp___29 ; |
|
5241 |
unsigned int tmp___29 ; |
| 5237 |
unsigned int part ; |
|
5242 |
unsigned int part ; |
| 5238 |
unsigned int tmp___30 ; |
|
5243 |
unsigned int tmp___30 ; |
| 5239 |
int tmp___31 ; |
|
5244 |
int tmp___31 ; |
| 5240 |
int tmp___32 ; |
|
5245 |
int tmp___32 ; |
| 5241 |
unsigned int tmp___33 ; |
|
5246 |
unsigned int tmp___33 ; |
| 5242 |
int tmp___34 ; |
|
5247 |
int tmp___34 ; |
| 5243 |
int tmp___35 ; |
|
5248 |
int tmp___35 ; |
| 5244 |
unsigned int len ; |
|
5249 |
unsigned int len ; |
| 5245 |
unsigned int tmp___36 ; |
|
5250 |
unsigned int tmp___36 ; |
| 5246 |
int tmp___37 ; |
|
5251 |
int tmp___37 ; |
| 5247 |
int tmp___38 ; |
|
5252 |
int tmp___38 ; |
| 5248 |
unsigned int tmp___39 ; |
|
5253 |
unsigned int tmp___39 ; |
| 5249 |
int tmp___40 ; |
|
5254 |
int tmp___40 ; |
| 5250 |
int tmp___41 ; |
|
5255 |
int tmp___41 ; |
| 5251 |
unsigned int tmp___42 ; |
|
5256 |
unsigned int tmp___42 ; |
| 5252 |
unsigned int tmp___43 ; |
|
5257 |
unsigned int tmp___43 ; |
| 5253 |
char c ; |
|
5258 |
char c ; |
| 5254 |
unsigned int tmp___44 ; |
|
5259 |
unsigned int tmp___44 ; |
| 5255 |
int tmp___45 ; |
|
5260 |
int tmp___45 ; |
| 5256 |
char *p ; |
|
5261 |
char *p ; |
| 5257 |
char *tmp___46 ; |
|
5262 |
char *tmp___46 ; |
| 5258 |
char *base ; |
|
5263 |
char *base ; |
| 5259 |
unsigned int tmp___47 ; |
|
5264 |
unsigned int tmp___47 ; |
| 5260 |
int tmp___48 ; |
|
5265 |
int tmp___48 ; |
| 5261 |
int tmp___49 ; |
|
5266 |
int tmp___49 ; |
| 5262 |
char *tmp___50 ; |
|
5267 |
char *tmp___50 ; |
| 5263 |
size_t tmp___51 ; |
|
5268 |
size_t tmp___51 ; |
| 5264 |
unsigned int tmp___52 ; |
|
5269 |
unsigned int tmp___52 ; |
| 5265 |
int tmp___53 ; |
|
5270 |
int tmp___53 ; |
| 5266 |
int tmp___54 ; |
|
5271 |
int tmp___54 ; |
| 5267 |
int tmp___55 ; |
|
5272 |
int tmp___55 ; |
| 5268 |
int tmp___56 ; |
|
5273 |
int tmp___56 ; |
| 5269 |
int tmp___57 ; |
|
5274 |
int tmp___57 ; |
| 5270 |
int tmp___58 ; |
|
5275 |
int tmp___58 ; |
| 5271 |
int tmp___59 ; |
|
5276 |
int tmp___59 ; |
| 5272 |
int tmp___60 ; |
|
5277 |
int tmp___60 ; |
| 5273 |
int tmp___61 ; |
|
5278 |
int tmp___61 ; |
| 5274 |
int tmp___62 ; |
|
5279 |
int tmp___62 ; |
| 5275 |
int inbyte ; |
|
5280 |
int inbyte ; |
| 5276 |
unsigned int tmp___63 ; |
|
5281 |
unsigned int tmp___63 ; |
| 5277 |
int tmp___64 ; |
|
5282 |
int tmp___64 ; |
| 5278 |
|
|
5283 |
|
| 5279 |
{ |
|
5284 |
{ |
| 5280 |
if (force) { |
|
5285 |
if (force) { |
| 5281 |
if (to_stdout) { |
|
5286 |
if (to_stdout) { |
| 5282 |
if (inptr < insize) { |
|
5287 |
if (inptr < insize) { |
| 5283 |
tmp = inptr; |
|
5288 |
tmp = inptr; |
| 5284 |
inptr ++; |
|
5289 |
inptr ++; |
| 5285 |
tmp___1 = (int )inbuf[tmp]; |
|
5290 |
tmp___1 = (int )inbuf[tmp]; |
| 5286 |
} else { |
|
5291 |
} else { |
| 5287 |
tmp___0 = fill_inbuf(1); |
|
5292 |
tmp___0 = fill_inbuf(1); |
| 5288 |
tmp___1 = tmp___0; |
|
5293 |
tmp___1 = tmp___0; |
| 5289 |
} |
|
5294 |
} |
| 5290 |
magic[0] = (char )tmp___1; |
|
5295 |
magic[0] = (char )tmp___1; |
| 5291 |
if (inptr < insize) { |
|
5296 |
if (inptr < insize) { |
| 5292 |
tmp___2 = inptr; |
|
5297 |
tmp___2 = inptr; |
| 5293 |
inptr ++; |
|
5298 |
inptr ++; |
| 5294 |
imagic1 = (int )inbuf[tmp___2]; |
|
5299 |
imagic1 = (int )inbuf[tmp___2]; |
| 5295 |
} else { |
|
5300 |
} else { |
| 5296 |
tmp___3 = fill_inbuf(1); |
|
5301 |
tmp___3 = fill_inbuf(1); |
| 5297 |
imagic1 = tmp___3; |
|
5302 |
imagic1 = tmp___3; |
| 5298 |
} |
|
5303 |
} |
| 5299 |
magic[1] = (char )imagic1; |
|
5304 |
magic[1] = (char )imagic1; |
| 5300 |
} else { |
|
5305 |
} else { |
| 5301 |
goto _L; |
|
5306 |
goto _L; |
| 5302 |
} |
|
5307 |
} |
| 5303 |
} else { |
|
5308 |
} else { |
| 5304 |
_L: |
|
5309 |
_L: |
| 5305 |
if (inptr < insize) { |
|
5310 |
if (inptr < insize) { |
| 5306 |
tmp___4 = inptr; |
|
5311 |
tmp___4 = inptr; |
| 5307 |
inptr ++; |
|
5312 |
inptr ++; |
| 5308 |
tmp___6 = (int )inbuf[tmp___4]; |
|
5313 |
tmp___6 = (int )inbuf[tmp___4]; |
| 5309 |
} else { |
|
5314 |
} else { |
| 5310 |
tmp___5 = fill_inbuf(0); |
|
5315 |
tmp___5 = fill_inbuf(0); |
| 5311 |
tmp___6 = tmp___5; |
|
5316 |
tmp___6 = tmp___5; |
| 5312 |
} |
|
5317 |
} |
| 5313 |
magic[0] = (char )tmp___6; |
|
5318 |
magic[0] = (char )tmp___6; |
| 5314 |
if (inptr < insize) { |
|
5319 |
if (inptr < insize) { |
| 5315 |
tmp___7 = inptr; |
|
5320 |
tmp___7 = inptr; |
| 5316 |
inptr ++; |
|
5321 |
inptr ++; |
| 5317 |
tmp___9 = (int )inbuf[tmp___7]; |
|
5322 |
tmp___9 = (int )inbuf[tmp___7]; |
| 5318 |
} else { |
|
5323 |
} else { |
| 5319 |
tmp___8 = fill_inbuf(0); |
|
5324 |
tmp___8 = fill_inbuf(0); |
| 5320 |
tmp___9 = tmp___8; |
|
5325 |
tmp___9 = tmp___8; |
| 5321 |
} |
|
5326 |
} |
| 5322 |
magic[1] = (char )tmp___9; |
|
5327 |
magic[1] = (char )tmp___9; |
| 5323 |
imagic1 = 0; |
|
5328 |
imagic1 = 0; |
| 5324 |
} |
|
5329 |
} |
| 5325 |
method = -1; |
|
5330 |
method = -1; |
| 5326 |
part_nb ++; |
|
5331 |
part_nb ++; |
| 5327 |
header_bytes = (off_t )0; |
|
5332 |
header_bytes = (off_t )0; |
| 5328 |
last_member = 0; |
|
5333 |
last_member = 0; |
| 5329 |
tmp___61 = memcmp((void const *)(magic), (void const *)"\037\213", |
|
5334 |
tmp___61 = memcmp((void const *)(magic), (void const *)"\037\213", |
| 5330 |
(size_t )2); |
|
5335 |
(size_t )2); |
| 5331 |
if (tmp___61 == 0) { |
|
5336 |
if (tmp___61 == 0) { |
| 5332 |
goto _L___4; |
|
5337 |
goto _L___4; |
| 5333 |
} else { |
|
5338 |
} else { |
| 5334 |
tmp___62 = memcmp((void const *)(magic), (void const *)"\037\236", |
|
5339 |
tmp___62 = memcmp((void const *)(magic), (void const *)"\037\236", |
| 5335 |
(size_t )2); |
|
5340 |
(size_t )2); |
| 5336 |
if (tmp___62 == 0) { |
|
5341 |
if (tmp___62 == 0) { |
| 5337 |
_L___4: |
|
5342 |
_L___4: |
| 5338 |
if (inptr < insize) { |
|
5343 |
if (inptr < insize) { |
| 5339 |
tmp___10 = inptr; |
|
5344 |
tmp___10 = inptr; |
| 5340 |
inptr ++; |
|
5345 |
inptr ++; |
| 5341 |
tmp___12 = (int )inbuf[tmp___10]; |
|
5346 |
tmp___12 = (int )inbuf[tmp___10]; |
| 5342 |
} else { |
|
5347 |
} else { |
| 5343 |
tmp___11 = fill_inbuf(0); |
|
5348 |
tmp___11 = fill_inbuf(0); |
| 5344 |
tmp___12 = tmp___11; |
|
5349 |
tmp___12 = tmp___11; |
| 5345 |
} |
|
5350 |
} |
| 5346 |
method = tmp___12; |
|
5351 |
method = tmp___12; |
| 5347 |
if (method != 8) { |
|
5352 |
if (method != 8) { |
| 5348 |
fprintf((FILE *)stderr, |
|
5353 |
fprintf((FILE *)stderr, |
| 5349 |
(char const *)"%s: %s: unknown method %d -- not supported\n", |
|
5354 |
(char const *)"%s: %s: unknown method %d -- not supported\n", |
| 5350 |
program_name, ifname, method); |
|
5355 |
program_name, ifname, method); |
| 5351 |
exit_code = 1; |
|
5356 |
exit_code = 1; |
| 5352 |
return (-1); |
|
5357 |
return (-1); |
| 5353 |
} else { |
|
5358 |
} else { |
| 5354 |
|
|
5359 |
|
| 5355 |
} |
|
5360 |
} |
| 5356 |
work = & unzip; |
|
5361 |
work = & unzip; |
| 5357 |
if (inptr < insize) { |
|
5362 |
if (inptr < insize) { |
| 5358 |
tmp___13 = inptr; |
|
5363 |
tmp___13 = inptr; |
| 5359 |
inptr ++; |
|
5364 |
inptr ++; |
| 5360 |
tmp___15 = (int )inbuf[tmp___13]; |
|
5365 |
tmp___15 = (int )inbuf[tmp___13]; |
| 5361 |
} else { |
|
5366 |
} else { |
| 5362 |
tmp___14 = fill_inbuf(0); |
|
5367 |
tmp___14 = fill_inbuf(0); |
| 5363 |
tmp___15 = tmp___14; |
|
5368 |
tmp___15 = tmp___14; |
| 5364 |
} |
|
5369 |
} |
| 5365 |
flags = (uch )tmp___15; |
|
5370 |
flags = (uch )tmp___15; |
| 5366 |
if (((int )flags & 32) != 0) { |
|
5371 |
if (((int )flags & 32) != 0) { |
| 5367 |
fprintf((FILE *)stderr, |
|
5372 |
fprintf((FILE *)stderr, |
| 5368 |
(char const *)"%s: %s is encrypted -- not supported\n", |
|
5373 |
(char const *)"%s: %s is encrypted -- not supported\n", |
| 5369 |
program_name, ifname); |
|
5374 |
program_name, ifname); |
| 5370 |
exit_code = 1; |
|
5375 |
exit_code = 1; |
| 5371 |
return (-1); |
|
5376 |
return (-1); |
| 5372 |
} else { |
|
5377 |
} else { |
| 5373 |
|
|
5378 |
|
| 5374 |
} |
|
5379 |
} |
| 5375 |
if (((int )flags & 2) != 0) { |
|
5380 |
if (((int )flags & 2) != 0) { |
| 5376 |
fprintf((FILE *)stderr, |
|
5381 |
fprintf((FILE *)stderr, |
| 5377 |
(char const *)"%s: %s is a multi-part gzip file -- not supported\n", |
|
5382 |
(char const *)"%s: %s is a multi-part gzip file -- not supported\n", |
| 5378 |
program_name, ifname); |
|
5383 |
program_name, ifname); |
| 5379 |
exit_code = 1; |
|
5384 |
exit_code = 1; |
| 5380 |
if (force <= 1) { |
|
5385 |
if (force <= 1) { |
| 5381 |
return (-1); |
|
5386 |
return (-1); |
| 5382 |
} else { |
|
5387 |
} else { |
| 5383 |
|
|
5388 |
|
| 5384 |
} |
|
5389 |
} |
| 5385 |
} else { |
|
5390 |
} else { |
| 5386 |
|
|
5391 |
|
| 5387 |
} |
|
5392 |
} |
| 5388 |
if (((int )flags & 192) != 0) { |
|
5393 |
if (((int )flags & 192) != 0) { |
| 5389 |
fprintf((FILE *)stderr, |
|
5394 |
fprintf((FILE *)stderr, |
| 5390 |
(char const *)"%s: %s has flags 0x%x -- not supported\n", |
|
5395 |
(char const *)"%s: %s has flags 0x%x -- not supported\n", |
| 5391 |
program_name, ifname, (int )flags); |
|
5396 |
program_name, ifname, (int )flags); |
| 5392 |
exit_code = 1; |
|
5397 |
exit_code = 1; |
| 5393 |
if (force <= 1) { |
|
5398 |
if (force <= 1) { |
| 5394 |
return (-1); |
|
5399 |
return (-1); |
| 5395 |
} else { |
|
5400 |
} else { |
| 5396 |
|
|
5401 |
|
| 5397 |
} |
|
5402 |
} |
| 5398 |
} else { |
|
5403 |
} else { |
| 5399 |
|
|
5404 |
|
| 5400 |
} |
|
5405 |
} |
| 5401 |
if (inptr < insize) { |
|
5406 |
if (inptr < insize) { |
| 5402 |
tmp___16 = inptr; |
|
5407 |
tmp___16 = inptr; |
| 5403 |
inptr ++; |
|
5408 |
inptr ++; |
| 5404 |
tmp___18 = (int )inbuf[tmp___16]; |
|
5409 |
tmp___18 = (int )inbuf[tmp___16]; |
| 5405 |
} else { |
|
5410 |
} else { |
| 5406 |
tmp___17 = fill_inbuf(0); |
|
5411 |
tmp___17 = fill_inbuf(0); |
| 5407 |
tmp___18 = tmp___17; |
|
5412 |
tmp___18 = tmp___17; |
| 5408 |
} |
|
5413 |
} |
| 5409 |
stamp = (ulg )tmp___18; |
|
5414 |
stamp = (ulg )tmp___18; |
| 5410 |
if (inptr < insize) { |
|
5415 |
if (inptr < insize) { |
| 5411 |
tmp___19 = inptr; |
|
5416 |
tmp___19 = inptr; |
| 5412 |
inptr ++; |
|
5417 |
inptr ++; |
| 5413 |
tmp___21 = (int )inbuf[tmp___19]; |
|
5418 |
tmp___21 = (int )inbuf[tmp___19]; |
| 5414 |
} else { |
|
5419 |
} else { |
| 5415 |
tmp___20 = fill_inbuf(0); |
|
5420 |
tmp___20 = fill_inbuf(0); |
| 5416 |
tmp___21 = tmp___20; |
|
5421 |
tmp___21 = tmp___20; |
| 5417 |
} |
|
5422 |
} |
| 5418 |
stamp |= (ulg )tmp___21 << 8; |
|
5423 |
stamp |= (ulg )tmp___21 << 8; |
| 5419 |
if (inptr < insize) { |
|
5424 |
if (inptr < insize) { |
| 5420 |
tmp___22 = inptr; |
|
5425 |
tmp___22 = inptr; |
| 5421 |
inptr ++; |
|
5426 |
inptr ++; |
| 5422 |
tmp___24 = (int )inbuf[tmp___22]; |
|
5427 |
tmp___24 = (int )inbuf[tmp___22]; |
| 5423 |
} else { |
|
5428 |
} else { |
| 5424 |
tmp___23 = fill_inbuf(0); |
|
5429 |
tmp___23 = fill_inbuf(0); |
| 5425 |
tmp___24 = tmp___23; |
|
5430 |
tmp___24 = tmp___23; |
| 5426 |
} |
|
5431 |
} |
| 5427 |
stamp |= (ulg )tmp___24 << 16; |
|
5432 |
stamp |= (ulg )tmp___24 << 16; |
| 5428 |
if (inptr < insize) { |
|
5433 |
if (inptr < insize) { |
| 5429 |
tmp___25 = inptr; |
|
5434 |
tmp___25 = inptr; |
| 5430 |
inptr ++; |
|
5435 |
inptr ++; |
| 5431 |
tmp___27 = (int )inbuf[tmp___25]; |
|
5436 |
tmp___27 = (int )inbuf[tmp___25]; |
| 5432 |
} else { |
|
5437 |
} else { |
| 5433 |
tmp___26 = fill_inbuf(0); |
|
5438 |
tmp___26 = fill_inbuf(0); |
| 5434 |
tmp___27 = tmp___26; |
|
5439 |
tmp___27 = tmp___26; |
| 5435 |
} |
|
5440 |
} |
| 5436 |
stamp |= (ulg )tmp___27 << 24; |
|
5441 |
stamp |= (ulg )tmp___27 << 24; |
| 5437 |
if (stamp != 0UL) { |
|
5442 |
if (stamp != 0UL) { |
| 5438 |
if (! no_time) { |
|
5443 |
if (! no_time) { |
| 5439 |
time_stamp.tv_sec = (__time_t )stamp; |
|
5444 |
time_stamp.tv_sec = (__time_t )stamp; |
| 5440 |
time_stamp.tv_nsec = 0L; |
|
5445 |
time_stamp.tv_nsec = 0L; |
| 5441 |
} else { |
|
5446 |
} else { |
| 5442 |
|
|
5447 |
|
| 5443 |
} |
|
5448 |
} |
| 5444 |
} else { |
|
5449 |
} else { |
| 5445 |
|
|
5450 |
|
| 5446 |
} |
|
5451 |
} |
| 5447 |
if (inptr < insize) { |
|
5452 |
if (inptr < insize) { |
| 5448 |
tmp___28 = inptr; |
|
5453 |
tmp___28 = inptr; |
| 5449 |
inptr ++; |
|
5454 |
inptr ++; |
| 5450 |
} else { |
|
5455 |
} else { |
| 5451 |
fill_inbuf(0); |
|
5456 |
fill_inbuf(0); |
| 5452 |
} |
|
5457 |
} |
| 5453 |
if (inptr < insize) { |
|
5458 |
if (inptr < insize) { |
| 5454 |
tmp___29 = inptr; |
|
5459 |
tmp___29 = inptr; |
| 5455 |
inptr ++; |
|
5460 |
inptr ++; |
| 5456 |
} else { |
|
5461 |
} else { |
| 5457 |
fill_inbuf(0); |
|
5462 |
fill_inbuf(0); |
| 5458 |
} |
|
5463 |
} |
| 5459 |
if (((int )flags & 2) != 0) { |
|
5464 |
if (((int )flags & 2) != 0) { |
| 5460 |
if (inptr < insize) { |
|
5465 |
if (inptr < insize) { |
| 5461 |
tmp___30 = inptr; |
|
5466 |
tmp___30 = inptr; |
| 5462 |
inptr ++; |
|
5467 |
inptr ++; |
| 5463 |
tmp___32 = (int )inbuf[tmp___30]; |
|
5468 |
tmp___32 = (int )inbuf[tmp___30]; |
| 5464 |
} else { |
|
5469 |
} else { |
| 5465 |
tmp___31 = fill_inbuf(0); |
|
5470 |
tmp___31 = fill_inbuf(0); |
| 5466 |
tmp___32 = tmp___31; |
|
5471 |
tmp___32 = tmp___31; |
| 5467 |
} |
|
5472 |
} |
| 5468 |
part = (unsigned int )tmp___32; |
|
5473 |
part = (unsigned int )tmp___32; |
| 5469 |
if (inptr < insize) { |
|
5474 |
if (inptr < insize) { |
| 5470 |
tmp___33 = inptr; |
|
5475 |
tmp___33 = inptr; |
| 5471 |
inptr ++; |
|
5476 |
inptr ++; |
| 5472 |
tmp___35 = (int )inbuf[tmp___33]; |
|
5477 |
tmp___35 = (int )inbuf[tmp___33]; |
| 5473 |
} else { |
|
5478 |
} else { |
| 5474 |
tmp___34 = fill_inbuf(0); |
|
5479 |
tmp___34 = fill_inbuf(0); |
| 5475 |
tmp___35 = tmp___34; |
|
5480 |
tmp___35 = tmp___34; |
| 5476 |
} |
|
5481 |
} |
| 5477 |
part |= (unsigned int )tmp___35 << 8; |
|
5482 |
part |= (unsigned int )tmp___35 << 8; |
| 5478 |
if (verbose) { |
|
5483 |
if (verbose) { |
| 5479 |
fprintf((FILE *)stderr, |
|
5484 |
fprintf((FILE *)stderr, |
| 5480 |
(char const *)"%s: %s: part number %u\n", |
|
5485 |
(char const *)"%s: %s: part number %u\n", |
| 5481 |
program_name, ifname, part); |
|
5486 |
program_name, ifname, part); |
| 5482 |
} else { |
|
5487 |
} else { |
| 5483 |
|
|
5488 |
|
| 5484 |
} |
|
5489 |
} |
| 5485 |
} else { |
|
5490 |
} else { |
| 5486 |
|
|
5491 |
|
| 5487 |
} |
|
5492 |
} |
| 5488 |
if (((int )flags & 4) != 0) { |
|
5493 |
if (((int )flags & 4) != 0) { |
| 5489 |
if (inptr < insize) { |
|
5494 |
if (inptr < insize) { |
| 5490 |
tmp___36 = inptr; |
|
5495 |
tmp___36 = inptr; |
| 5491 |
inptr ++; |
|
5496 |
inptr ++; |
| 5492 |
tmp___38 = (int )inbuf[tmp___36]; |
|
5497 |
tmp___38 = (int )inbuf[tmp___36]; |
| 5493 |
} else { |
|
5498 |
} else { |
| 5494 |
tmp___37 = fill_inbuf(0); |
|
5499 |
tmp___37 = fill_inbuf(0); |
| 5495 |
tmp___38 = tmp___37; |
|
5500 |
tmp___38 = tmp___37; |
| 5496 |
} |
|
5501 |
} |
| 5497 |
len = (unsigned int )tmp___38; |
|
5502 |
len = (unsigned int )tmp___38; |
| 5498 |
if (inptr < insize) { |
|
5503 |
if (inptr < insize) { |
| 5499 |
tmp___39 = inptr; |
|
5504 |
tmp___39 = inptr; |
| 5500 |
inptr ++; |
|
5505 |
inptr ++; |
| 5501 |
tmp___41 = (int )inbuf[tmp___39]; |
|
5506 |
tmp___41 = (int )inbuf[tmp___39]; |
| 5502 |
} else { |
|
5507 |
} else { |
| 5503 |
tmp___40 = fill_inbuf(0); |
|
5508 |
tmp___40 = fill_inbuf(0); |
| 5504 |
tmp___41 = tmp___40; |
|
5509 |
tmp___41 = tmp___40; |
| 5505 |
} |
|
5510 |
} |
| 5506 |
len |= (unsigned int )tmp___41 << 8; |
|
5511 |
len |= (unsigned int )tmp___41 << 8; |
| 5507 |
if (verbose) { |
|
5512 |
if (verbose) { |
| 5508 |
fprintf((FILE *)stderr, |
|
5513 |
fprintf((FILE *)stderr, |
| 5509 |
(char const *)"%s: %s: extra field of %u bytes ignored\n", |
|
5514 |
(char const *)"%s: %s: extra field of %u bytes ignored\n", |
| 5510 |
program_name, ifname, len); |
|
5515 |
program_name, ifname, len); |
| 5511 |
} else { |
|
5516 |
} else { |
| 5512 |
|
|
5517 |
|
| 5513 |
} |
|
5518 |
} |
| 5514 |
while (1) { |
|
5519 |
while (1) { |
| 5515 |
tmp___43 = len; |
|
5520 |
tmp___43 = len; |
| 5516 |
len --; |
|
5521 |
len --; |
| 5517 |
if (tmp___43) { |
|
5522 |
if (tmp___43) { |
| 5518 |
|
|
5523 |
|
| 5519 |
} else { |
|
5524 |
} else { |
| 5520 |
break; |
|
5525 |
break; |
| 5521 |
} |
|
5526 |
} |
| 5522 |
if (inptr < insize) { |
|
5527 |
if (inptr < insize) { |
| 5523 |
tmp___42 = inptr; |
|
5528 |
tmp___42 = inptr; |
| 5524 |
inptr ++; |
|
5529 |
inptr ++; |
| 5525 |
} else { |
|
5530 |
} else { |
| 5526 |
fill_inbuf(0); |
|
5531 |
fill_inbuf(0); |
| 5527 |
} |
|
5532 |
} |
| 5528 |
} |
|
5533 |
} |
| 5529 |
} else { |
|
5534 |
} else { |
| 5530 |
|
|
5535 |
|
| 5531 |
} |
|
5536 |
} |
| 5532 |
if (((int )flags & 8) != 0) { |
|
5537 |
if (((int )flags & 8) != 0) { |
| 5533 |
if (no_name) { |
|
5538 |
if (no_name) { |
| 5534 |
goto _L___0; |
|
5539 |
goto _L___0; |
| 5535 |
} else |
|
5540 |
} else |
| 5536 |
if (to_stdout) { |
|
5541 |
if (to_stdout) { |
| 5537 |
if (! list) { |
|
5542 |
if (! list) { |
| 5538 |
goto _L___0; |
|
5543 |
goto _L___0; |
| 5539 |
} else { |
|
5544 |
} else { |
| 5540 |
goto _L___1; |
|
5545 |
goto _L___1; |
| 5541 |
} |
|
5546 |
} |
| 5542 |
} else |
|
5547 |
} else |
| 5543 |
_L___1: |
|
5548 |
_L___1: |
| 5544 |
if (part_nb > 1) { |
|
5549 |
if (part_nb > 1) { |
| 5545 |
_L___0: |
|
5550 |
_L___0: |
| 5546 |
while (1) { |
|
5551 |
while (1) { |
| 5547 |
if (inptr < insize) { |
|
5552 |
if (inptr < insize) { |
| 5548 |
tmp___44 = inptr; |
|
5553 |
tmp___44 = inptr; |
| 5549 |
inptr ++; |
|
5554 |
inptr ++; |
| 5550 |
c = (char )inbuf[tmp___44]; |
|
5555 |
c = (char )inbuf[tmp___44]; |
| 5551 |
} else { |
|
5556 |
} else { |
| 5552 |
tmp___45 = fill_inbuf(0); |
|
5557 |
tmp___45 = fill_inbuf(0); |
| 5553 |
c = (char )tmp___45; |
|
5558 |
c = (char )tmp___45; |
| 5554 |
} |
|
5559 |
} |
| 5555 |
if ((int )c != 0) { |
|
5560 |
if ((int )c != 0) { |
| 5556 |
|
|
5561 |
|
| 5557 |
} else { |
|
5562 |
} else { |
| 5558 |
break; |
|
5563 |
break; |
| 5559 |
} |
|
5564 |
} |
| 5560 |
} |
|
5565 |
} |
| 5561 |
} else { |
|
5566 |
} else { |
| 5562 |
tmp___46 = gzip_base_name(ofname); |
|
5567 |
tmp___46 = gzip_base_name(ofname); |
| 5563 |
p = tmp___46; |
|
5568 |
p = tmp___46; |
| 5564 |
base = p; |
|
5569 |
base = p; |
| 5565 |
while (1) { |
|
5570 |
while (1) { |
| 5566 |
if (inptr < insize) { |
|
5571 |
if (inptr < insize) { |
| 5567 |
tmp___47 = inptr; |
|
5572 |
tmp___47 = inptr; |
| 5568 |
inptr ++; |
|
5573 |
inptr ++; |
| 5569 |
tmp___49 = (int )inbuf[tmp___47]; |
|
5574 |
tmp___49 = (int )inbuf[tmp___47]; |
| 5570 |
} else { |
|
5575 |
} else { |
| 5571 |
tmp___48 = fill_inbuf(0); |
|
5576 |
tmp___48 = fill_inbuf(0); |
| 5572 |
tmp___49 = tmp___48; |
|
5577 |
tmp___49 = tmp___48; |
| 5573 |
} |
|
5578 |
} |
| 5574 |
*p = (char )tmp___49; |
|
5579 |
*p = (char )tmp___49; |
| 5575 |
tmp___50 = p; |
|
5580 |
tmp___50 = p; |
| 5576 |
p ++; |
|
5581 |
p ++; |
| 5577 |
if ((int )*tmp___50 == 0) { |
|
5582 |
if ((int )*tmp___50 == 0) { |
| 5578 |
break; |
|
5583 |
break; |
| 5579 |
} else { |
|
5584 |
} else { |
| 5580 |
|
|
5585 |
|
| 5581 |
} |
|
5586 |
} |
| 5582 |
if ((unsigned int )p >= (unsigned int )(ofname + sizeof(ofname))) { |
|
5587 |
if ((unsigned int )p >= (unsigned int )(ofname + sizeof(ofname))) { |
| 5583 |
gzip_error((char *)"corrupted input -- file name too large"); |
|
5588 |
gzip_error((char *)"corrupted input -- file name too large"); |
| 5584 |
} else { |
|
5589 |
} else { |
| 5585 |
|
|
5590 |
|
| 5586 |
} |
|
5591 |
} |
| 5587 |
} |
|
5592 |
} |
| 5588 |
p = gzip_base_name(base); |
|
5593 |
p = gzip_base_name(base); |
| 5589 |
tmp___51 = strlen((char const *)p); |
|
5594 |
tmp___51 = strlen((char const *)p); |
| 5590 |
memmove((void *)base, (void const *)p, tmp___51 + 1U); |
|
5595 |
memmove((void *)base, (void const *)p, tmp___51 + 1U); |
| 5591 |
if (! list) { |
|
5596 |
if (! list) { |
| 5592 |
if (base) { |
|
5597 |
if (base) { |
| 5593 |
list = 0; |
|
5598 |
list = 0; |
| 5594 |
} else { |
|
5599 |
} else { |
| 5595 |
|
|
5600 |
|
| 5596 |
} |
|
5601 |
} |
| 5597 |
} else { |
|
5602 |
} else { |
| 5598 |
|
|
5603 |
|
| 5599 |
} |
|
5604 |
} |
| 5600 |
} |
|
5605 |
} |
| 5601 |
} else { |
|
5606 |
} else { |
| 5602 |
|
|
5607 |
|
| 5603 |
} |
|
5608 |
} |
| 5604 |
if (((int )flags & 16) != 0) { |
|
5609 |
if (((int )flags & 16) != 0) { |
| 5605 |
while (1) { |
|
5610 |
while (1) { |
| 5606 |
if (inptr < insize) { |
|
5611 |
if (inptr < insize) { |
| 5607 |
tmp___52 = inptr; |
|
5612 |
tmp___52 = inptr; |
| 5608 |
inptr ++; |
|
5613 |
inptr ++; |
| 5609 |
tmp___54 = (int )inbuf[tmp___52]; |
|
5614 |
tmp___54 = (int )inbuf[tmp___52]; |
| 5610 |
} else { |
|
5615 |
} else { |
| 5611 |
tmp___53 = fill_inbuf(0); |
|
5616 |
tmp___53 = fill_inbuf(0); |
| 5612 |
tmp___54 = tmp___53; |
|
5617 |
tmp___54 = tmp___53; |
| 5613 |
} |
|
5618 |
} |
| 5614 |
if (tmp___54 != 0) { |
|
5619 |
if (tmp___54 != 0) { |
| 5615 |
|
|
5620 |
|
| 5616 |
} else { |
|
5621 |
} else { |
| 5617 |
break; |
|
5622 |
break; |
| 5618 |
} |
|
5623 |
} |
| 5619 |
} |
|
5624 |
} |
| 5620 |
} else { |
|
5625 |
} else { |
| 5621 |
|
|
5626 |
|
| 5622 |
} |
|
5627 |
} |
| 5623 |
if (part_nb == 1) { |
|
5628 |
if (part_nb == 1) { |
| 5624 |
header_bytes = (off_t )(inptr + 2U * sizeof(long )); |
|
5629 |
header_bytes = (off_t )(inptr + 2U * sizeof(long )); |
| 5625 |
} else { |
|
5630 |
} else { |
| 5626 |
|
|
5631 |
|
| 5627 |
} |
|
5632 |
} |
| 5628 |
} else { |
|
5633 |
} else { |
| 5629 |
tmp___59 = memcmp((void const *)(magic), (void const *)"PK\003\004", |
|
5634 |
tmp___59 = memcmp((void const *)(magic), (void const *)"PK\003\004", |
| 5630 |
(size_t )2); |
|
5635 |
(size_t )2); |
| 5631 |
if (tmp___59 == 0) { |
|
5636 |
if (tmp___59 == 0) { |
| 5632 |
if (inptr == 2U) { |
|
5637 |
if (inptr == 2U) { |
| 5633 |
tmp___60 = memcmp((void const *)((char *)(inbuf)), |
|
5638 |
tmp___60 = memcmp((void const *)((char *)(inbuf)), |
| 5634 |
(void const *)"PK\003\004", (size_t )4); |
|
5639 |
(void const *)"PK\003\004", (size_t )4); |
| 5635 |
if (tmp___60 == 0) { |
|
5640 |
if (tmp___60 == 0) { |
| 5636 |
inptr = 0U; |
|
5641 |
inptr = 0U; |
| 5637 |
work = & unzip; |
|
5642 |
work = & unzip; |
| 5638 |
tmp___55 = check_zipfile(in); |
|
5643 |
tmp___55 = check_zipfile(in); |
| 5639 |
if (tmp___55 != 0) { |
|
5644 |
if (tmp___55 != 0) { |
| 5640 |
return (-1); |
|
5645 |
return (-1); |
| 5641 |
} else { |
|
5646 |
} else { |
| 5642 |
|
|
5647 |
|
| 5643 |
} |
|
5648 |
} |
| 5644 |
last_member = 1; |
|
5649 |
last_member = 1; |
| 5645 |
} else { |
|
5650 |
} else { |
| 5646 |
goto _L___3; |
|
5651 |
goto _L___3; |
| 5647 |
} |
|
5652 |
} |
| 5648 |
} else { |
|
5653 |
} else { |
| 5649 |
goto _L___3; |
|
5654 |
goto _L___3; |
| 5650 |
} |
|
5655 |
} |
| 5651 |
} else { |
|
5656 |
} else { |
| 5652 |
_L___3: |
|
5657 |
_L___3: |
| 5653 |
_L___2: |
|
5658 |
_L___2: |
| 5654 |
tmp___58 = memcmp((void const *)(magic), (void const *)"\037\036", |
|
5659 |
tmp___58 = memcmp((void const *)(magic), (void const *)"\037\036", |
| 5655 |
(size_t )2); |
|
5660 |
(size_t )2); |
| 5656 |
if (tmp___58 == 0) { |
|
5661 |
if (tmp___58 == 0) { |
| 5657 |
work = & unpack; |
|
5662 |
work = & unpack; |
| 5658 |
method = 2; |
|
5663 |
method = 2; |
| 5659 |
} else { |
|
5664 |
} else { |
| 5660 |
tmp___57 = memcmp((void const *)(magic), (void const *)"\037\235", |
|
5665 |
tmp___57 = memcmp((void const *)(magic), (void const *)"\037\235", |
| 5661 |
(size_t )2); |
|
5666 |
(size_t )2); |
| 5662 |
if (tmp___57 == 0) { |
|
5667 |
if (tmp___57 == 0) { |
| 5663 |
work = & unlzw; |
|
5668 |
work = & unlzw; |
| 5664 |
method = 1; |
|
5669 |
method = 1; |
| 5665 |
last_member = 1; |
|
5670 |
last_member = 1; |
| 5666 |
} else { |
|
5671 |
} else { |
| 5667 |
tmp___56 = memcmp((void const *)(magic), |
|
5672 |
tmp___56 = memcmp((void const *)(magic), |
| 5668 |
(void const *)"\037\240", (size_t )2); |
|
5673 |
(void const *)"\037\240", (size_t )2); |
| 5669 |
if (tmp___56 == 0) { |
|
5674 |
if (tmp___56 == 0) { |
| 5670 |
work = & unlzh; |
|
5675 |
work = & unlzh; |
| 5671 |
method = 3; |
|
5676 |
method = 3; |
| 5672 |
last_member = 1; |
|
5677 |
last_member = 1; |
| 5673 |
} else |
|
5678 |
} else |
| 5674 |
if (force) { |
|
5679 |
if (force) { |
| 5675 |
if (to_stdout) { |
|
5680 |
if (to_stdout) { |
| 5676 |
if (! list) { |
|
5681 |
if (! list) { |
| 5677 |
method = 0; |
|
5682 |
method = 0; |
| 5678 |
work = & copy; |
|
5683 |
work = & copy; |
| 5679 |
inptr = 0U; |
|
5684 |
inptr = 0U; |
| 5680 |
last_member = 1; |
|
5685 |
last_member = 1; |
| 5681 |
} else { |
|
5686 |
} else { |
| 5682 |
|
|
5687 |
|
| 5683 |
} |
|
5688 |
} |
| 5684 |
} else { |
|
5689 |
} else { |
| 5685 |
|
|
5690 |
|
| 5686 |
} |
|
5691 |
} |
| 5687 |
} else { |
|
5692 |
} else { |
| 5688 |
|
|
5693 |
|
| 5689 |
} |
|
5694 |
} |
| 5690 |
} |
|
5695 |
} |
| 5691 |
} |
|
5696 |
} |
| 5692 |
} |
|
5697 |
} |
| 5693 |
} |
|
5698 |
} |
| 5694 |
} |
|
5699 |
} |
| 5695 |
if (method >= 0) { |
|
5700 |
if (method >= 0) { |
| 5696 |
return (method); |
|
5701 |
return (method); |
| 5697 |
} else { |
|
5702 |
} else { |
| 5698 |
|
|
5703 |
|
| 5699 |
} |
|
5704 |
} |
| 5700 |
if (part_nb == 1) { |
|
5705 |
if (part_nb == 1) { |
| 5701 |
fprintf((FILE *)stderr, |
|
5706 |
fprintf((FILE *)stderr, |
| 5702 |
(char const *)"\n%s: %s: not in gzip format\n", |
|
5707 |
(char const *)"\n%s: %s: not in gzip format\n", |
| 5703 |
program_name, ifname); |
|
5708 |
program_name, ifname); |
| 5704 |
exit_code = 1; |
|
5709 |
exit_code = 1; |
| 5705 |
return (-1); |
|
5710 |
return (-1); |
| 5706 |
} else { |
|
5711 |
} else { |
| 5707 |
if ((int )magic[0] == 0) { |
|
5712 |
if ((int )magic[0] == 0) { |
| 5708 |
inbyte = imagic1; |
|
5713 |
inbyte = imagic1; |
| 5709 |
while (inbyte == 0) { |
|
5714 |
while (inbyte == 0) { |
| 5710 |
goto __Cont; |
|
5715 |
goto __Cont; |
| 5711 |
__Cont: |
|
5716 |
__Cont: |
| 5712 |
if (inptr < insize) { |
|
5717 |
if (inptr < insize) { |
| 5713 |
tmp___63 = inptr; |
|
5718 |
tmp___63 = inptr; |
| 5714 |
inptr ++; |
|
5719 |
inptr ++; |
| 5715 |
inbyte = (int )inbuf[tmp___63]; |
|
5720 |
inbyte = (int )inbuf[tmp___63]; |
| 5716 |
} else { |
|
5721 |
} else { |
| 5717 |
tmp___64 = fill_inbuf(1); |
|
5722 |
tmp___64 = fill_inbuf(1); |
| 5718 |
inbyte = tmp___64; |
|
5723 |
inbyte = tmp___64; |
| 5719 |
} |
|
5724 |
} |
| 5720 |
} |
|
5725 |
} |
| 5721 |
if (inbyte == -1) { |
|
5726 |
if (inbyte == -1) { |
| 5722 |
if (verbose) { |
|
5727 |
if (verbose) { |
| 5723 |
if (! quiet) { |
|
5728 |
if (! quiet) { |
| 5724 |
fprintf((FILE *)stderr, |
|
5729 |
fprintf((FILE *)stderr, |
| 5725 |
(char const *)"\n%s: %s: decompression OK, trailing zero bytes ignored\n", |
|
5730 |
(char const *)"\n%s: %s: decompression OK, trailing zero bytes ignored\n", |
| 5726 |
program_name, ifname); |
|
5731 |
program_name, ifname); |
| 5727 |
} else { |
|
5732 |
} else { |
| 5728 |
|
|
5733 |
|
| 5729 |
} |
|
5734 |
} |
| 5730 |
if (exit_code == 0) { |
|
5735 |
if (exit_code == 0) { |
| 5731 |
exit_code = 2; |
|
5736 |
exit_code = 2; |
| 5732 |
} else { |
|
5737 |
} else { |
| 5733 |
|
|
5738 |
|
| 5734 |
} |
|
5739 |
} |
| 5735 |
} else { |
|
5740 |
} else { |
| 5736 |
|
|
5741 |
|
| 5737 |
} |
|
5742 |
} |
| 5738 |
return (-3); |
|
5743 |
return (-3); |
| 5739 |
} else { |
|
5744 |
} else { |
| 5740 |
|
|
5745 |
|
| 5741 |
} |
|
5746 |
} |
| 5742 |
} else { |
|
5747 |
} else { |
| 5743 |
|
|
5748 |
|
| 5744 |
} |
|
5749 |
} |
| 5745 |
if (! quiet) { |
|
5750 |
if (! quiet) { |
| 5746 |
fprintf((FILE *)stderr, |
|
5751 |
fprintf((FILE *)stderr, |
| 5747 |
(char const *)"\n%s: %s: decompression OK, trailing garbage ignored\n", |
|
5752 |
(char const *)"\n%s: %s: decompression OK, trailing garbage ignored\n", |
| 5748 |
program_name, ifname); |
|
5753 |
program_name, ifname); |
| 5749 |
} else { |
|
5754 |
} else { |
| 5750 |
|
|
5755 |
|
| 5751 |
} |
|
5756 |
} |
| 5752 |
if (exit_code == 0) { |
|
5757 |
if (exit_code == 0) { |
| 5753 |
exit_code = 2; |
|
5758 |
exit_code = 2; |
| 5754 |
} else { |
|
5759 |
} else { |
| 5755 |
|
|
5760 |
|
| 5756 |
} |
|
5761 |
} |
| 5757 |
return (-2); |
|
5762 |
return (-2); |
| 5758 |
} |
|
5763 |
} |
| 5759 |
} |
|
5764 |
} |
| 5760 |
} |
|
5765 |
} |
| 5761 |
static void do_list(int ifd___0 , int method___0 ) ; |
|
5766 |
static void do_list(int ifd___0 , int method___0 ) ; |
| 5762 |
static int first_time = 1; |
|
5767 |
static int first_time = 1; |
| 5763 |
static void do_list(int ifd___0 , int method___0 ) ; |
|
5768 |
static void do_list(int ifd___0 , int method___0 ) ; |
| 5764 |
static char *methods[9] = |
|
5769 |
static char *methods[9] = |
| 5765 |
{ (char *)"store", (char *)"compr", (char *)"pack ", (char *)"lzh ", |
|
5770 |
{ (char *)"store", (char *)"compr", (char *)"pack ", (char *)"lzh ", |
| 5766 |
(char *)"", (char *)"", (char *)"", (char *)"", |
|
5771 |
(char *)"", (char *)"", (char *)"", (char *)"", |
| 5767 |
(char *)"defla"}; |
|
5772 |
(char *)"defla"}; |
| 5768 |
static void do_list(int ifd___0 , int method___0 ) |
|
5773 |
static void do_list(int ifd___0 , int method___0 ) |
| 5769 |
{ |
|
5774 |
{ |
| 5770 |
ulg crc ; |
|
5775 |
ulg crc ; |
| 5771 |
int positive_off_t_width ; |
|
5776 |
int positive_off_t_width ; |
| 5772 |
off_t o ; |
|
5777 |
off_t o ; |
| 5773 |
uch buf[8] ; |
|
5778 |
uch buf[8] ; |
| 5774 |
ssize_t tmp ; |
|
5779 |
ssize_t tmp ; |
| 5775 |
struct tm *tm ; |
|
5780 |
struct tm *tm ; |
| 5776 |
struct tm *tmp___0 ; |
|
5781 |
struct tm *tmp___0 ; |
| 5777 |
|
|
5782 |
|
| 5778 |
{ |
|
5783 |
{ |
| 5779 |
positive_off_t_width = 1; |
|
5784 |
positive_off_t_width = 1; |
| 5780 |
o = -1LL - (-1LL << (sizeof(off_t ) * 8U - 1U)); |
|
5785 |
o = -1LL - (-1LL << (sizeof(off_t ) * 8U - 1U)); |
| 5781 |
while (9LL < o) { |
|
5786 |
while (9LL < o) { |
| 5782 |
positive_off_t_width ++; |
|
5787 |
positive_off_t_width ++; |
| 5783 |
o /= 10LL; |
|
5788 |
o /= 10LL; |
| 5784 |
} |
|
5789 |
} |
| 5785 |
if (first_time) { |
|
5790 |
if (first_time) { |
| 5786 |
if (method___0 >= 0) { |
|
5791 |
if (method___0 >= 0) { |
| 5787 |
first_time = 0; |
|
5792 |
first_time = 0; |
| 5788 |
if (verbose) { |
|
5793 |
if (verbose) { |
| 5789 |
printf((char const *)"method crc date time "); |
|
5794 |
printf((char const *)"method crc date time "); |
| 5790 |
} else { |
|
5795 |
} else { |
| 5791 |
|
|
5796 |
|
| 5792 |
} |
|
5797 |
} |
| 5793 |
if (! quiet) { |
|
5798 |
if (! quiet) { |
| 5794 |
printf((char const *)"%*.*s %*.*s ratio uncompressed_name\n", |
|
5799 |
printf((char const *)"%*.*s %*.*s ratio uncompressed_name\n", |
| 5795 |
positive_off_t_width, positive_off_t_width, "compressed", |
|
5800 |
positive_off_t_width, positive_off_t_width, "compressed", |
| 5796 |
positive_off_t_width, positive_off_t_width, "uncompressed"); |
|
5801 |
positive_off_t_width, positive_off_t_width, "uncompressed"); |
| 5797 |
} else { |
|
5802 |
} else { |
| 5798 |
|
|
5803 |
|
| 5799 |
} |
|
5804 |
} |
| 5800 |
} else { |
|
5805 |
} else { |
| 5801 |
goto _L; |
|
5806 |
goto _L; |
| 5802 |
} |
|
5807 |
} |
| 5803 |
} else |
|
5808 |
} else |
| 5804 |
_L: |
|
5809 |
_L: |
| 5805 |
if (method___0 < 0) { |
|
5810 |
if (method___0 < 0) { |
| 5806 |
if (total_in <= 0LL) { |
|
5811 |
if (total_in <= 0LL) { |
| 5807 |
return; |
|
5812 |
return; |
| 5808 |
} else |
|
5813 |
} else |
| 5809 |
if (total_out <= 0LL) { |
|
5814 |
if (total_out <= 0LL) { |
| 5810 |
return; |
|
5815 |
return; |
| 5811 |
} else { |
|
5816 |
} else { |
| 5812 |
|
|
5817 |
|
| 5813 |
} |
|
5818 |
} |
| 5814 |
if (verbose) { |
|
5819 |
if (verbose) { |
| 5815 |
printf((char const *)" "); |
|
5820 |
printf((char const *)" "); |
| 5816 |
} else { |
|
5821 |
} else { |
| 5817 |
|
|
5822 |
|
| 5818 |
} |
|
5823 |
} |
| 5819 |
if (verbose) { |
|
5824 |
if (verbose) { |
| 5820 |
fprint_off(stdout, total_in, positive_off_t_width); |
|
5825 |
fprint_off(stdout, total_in, positive_off_t_width); |
| 5821 |
printf((char const *)" "); |
|
5826 |
printf((char const *)" "); |
| 5822 |
fprint_off(stdout, total_out, positive_off_t_width); |
|
5827 |
fprint_off(stdout, total_out, positive_off_t_width); |
| 5823 |
printf((char const *)" "); |
|
5828 |
printf((char const *)" "); |
| 5824 |
} else |
|
5829 |
} else |
| 5825 |
if (! quiet) { |
|
5830 |
if (! quiet) { |
| 5826 |
fprint_off(stdout, total_in, positive_off_t_width); |
|
5831 |
fprint_off(stdout, total_in, positive_off_t_width); |
| 5827 |
printf((char const *)" "); |
|
5832 |
printf((char const *)" "); |
| 5828 |
fprint_off(stdout, total_out, positive_off_t_width); |
|
5833 |
fprint_off(stdout, total_out, positive_off_t_width); |
| 5829 |
printf((char const *)" "); |
|
5834 |
printf((char const *)" "); |
| 5830 |
} else { |
|
5835 |
} else { |
| 5831 |
|
|
5836 |
|
| 5832 |
} |
|
5837 |
} |
| 5833 |
display_ratio(total_out - (total_in - header_bytes), total_out, stdout); |
|
5838 |
display_ratio(total_out - (total_in - header_bytes), total_out, stdout); |
| 5834 |
printf((char const *)" (totals)\n"); |
|
5839 |
printf((char const *)" (totals)\n"); |
| 5835 |
return; |
|
5840 |
return; |
| 5836 |
} else { |
|
5841 |
} else { |
| 5837 |
|
|
5842 |
|
| 5838 |
} |
|
5843 |
} |
| 5839 |
crc = (ulg )(~ 0); |
|
5844 |
crc = (ulg )(~ 0); |
| 5840 |
bytes_out = (off_t )-1L; |
|
5845 |
bytes_out = (off_t )-1L; |
| 5841 |
bytes_in = ifile_size; |
|
5846 |
bytes_in = ifile_size; |
| 5842 |
if (method___0 == 8) { |
|
5847 |
if (method___0 == 8) { |
| 5843 |
if (! last_member) { |
|
5848 |
if (! last_member) { |
| 5844 |
bytes_in = lseek(ifd___0, (off_t )-8, 2); |
|
5849 |
bytes_in = lseek(ifd___0, (off_t )-8, 2); |
| 5845 |
if (bytes_in != -1LL) { |
|
5850 |
if (bytes_in != -1LL) { |
| 5846 |
bytes_in += 8LL; |
|
5851 |
bytes_in += 8LL; |
| 5847 |
tmp = read(ifd___0, (void *)((char *)(buf)), sizeof(buf)); |
|
5852 |
tmp = read(ifd___0, (void *)((char *)(buf)), sizeof(buf)); |
| 5848 |
if ((unsigned int )tmp != sizeof(buf)) { |
|
5853 |
if ((unsigned int )tmp != sizeof(buf)) { |
| 5849 |
read_error(); |
|
5854 |
read_error(); |
| 5850 |
} else { |
|
5855 |
} else { |
| 5851 |
|
|
5856 |
|
| 5852 |
} |
|
5857 |
} |
| 5853 |
crc = (ulg )((int )((ush )buf[0]) | ((int )((ush )buf[1]) << 8)) | ((ulg )((int )((ush )*((buf + 2) + 0)) | ((int )((ush )*((buf + 2) + 1)) << 8)) << 16); |
|
5858 |
crc = (ulg )((int )((ush )buf[0]) | ((int )((ush )buf[1]) << 8)) | ((ulg )((int )((ush )*((buf + 2) + 0)) | ((int )((ush )*((buf + 2) + 1)) << 8)) << 16); |
| 5854 |
bytes_out = (off_t )((ulg )((int )((ush )*((buf + 4) + 0)) | ((int )((ush )*((buf + 4) + 1)) << 8)) | ((ulg )((int )((ush )*(((buf + 4) + 2) + 0)) | ((int )((ush )*(((buf + 4) + 2) + 1)) << 8)) << 16)); |
|
5859 |
bytes_out = (off_t )((ulg )((int )((ush )*((buf + 4) + 0)) | ((int )((ush )*((buf + 4) + 1)) << 8)) | ((ulg )((int )((ush )*(((buf + 4) + 2) + 0)) | ((int )((ush )*(((buf + 4) + 2) + 1)) << 8)) << 16)); |
| 5855 |
} else { |
|
5860 |
} else { |
| 5856 |
|
|
5861 |
|
| 5857 |
} |
|
5862 |
} |
| 5858 |
} else { |
|
5863 |
} else { |
| 5859 |
|
|
5864 |
|
| 5860 |
} |
|
5865 |
} |
| 5861 |
} else { |
|
5866 |
} else { |
| 5862 |
|
|
5867 |
|
| 5863 |
} |
|
5868 |
} |
| 5864 |
if (verbose) { |
|
5869 |
if (verbose) { |
| 5865 |
tmp___0 = localtime((time_t const *)(& time_stamp.tv_sec)); |
|
5870 |
tmp___0 = localtime((time_t const *)(& time_stamp.tv_sec)); |
| 5866 |
tm = tmp___0; |
|
5871 |
tm = tmp___0; |
| 5867 |
printf((char const *)"%5s %08lx ", methods[method___0], |
|
5872 |
printf((char const *)"%5s %08lx ", methods[method___0], |
| 5868 |
crc); |
|
5873 |
crc); |
| 5869 |
if (tm) { |
|
5874 |
if (tm) { |
| 5870 |
printf((char const *)"%s%3d %02d:%02d ", |
|
5875 |
printf((char const *)"%s%3d %02d:%02d ", |
| 5871 |
"Jan\000Feb\000Mar\000Apr\000May\000Jun\000Jul\000Aug\000Sep\000Oct\000Nov\000Dec" + 4 * tm->tm_mon, |
|
5876 |
"Jan\000Feb\000Mar\000Apr\000May\000Jun\000Jul\000Aug\000Sep\000Oct\000Nov\000Dec" + 4 * tm->tm_mon, |
| 5872 |
tm->tm_mday, tm->tm_hour, tm->tm_min); |
|
5877 |
tm->tm_mday, tm->tm_hour, tm->tm_min); |
| 5873 |
} else { |
|
5878 |
} else { |
| 5874 |
printf((char const *)"??? ?? ??:?? "); |
|
5879 |
printf((char const *)"??? ?? ??:?? "); |
| 5875 |
} |
|
5880 |
} |
| 5876 |
} else { |
|
5881 |
} else { |
| 5877 |
|
|
5882 |
|
| 5878 |
} |
|
5883 |
} |
| 5879 |
fprint_off(stdout, bytes_in, positive_off_t_width); |
|
5884 |
fprint_off(stdout, bytes_in, positive_off_t_width); |
| 5880 |
printf((char const *)" "); |
|
5885 |
printf((char const *)" "); |
| 5881 |
fprint_off(stdout, bytes_out, positive_off_t_width); |
|
5886 |
fprint_off(stdout, bytes_out, positive_off_t_width); |
| 5882 |
printf((char const *)" "); |
|
5887 |
printf((char const *)" "); |
| 5883 |
if (bytes_in == -1LL) { |
|
5888 |
if (bytes_in == -1LL) { |
| 5884 |
total_in = (off_t )-1L; |
|
5889 |
total_in = (off_t )-1L; |
| 5885 |
header_bytes = (off_t )0; |
|
5890 |
header_bytes = (off_t )0; |
| 5886 |
bytes_out = header_bytes; |
|
5891 |
bytes_out = header_bytes; |
| 5887 |
bytes_in = bytes_out; |
|
5892 |
bytes_in = bytes_out; |
| 5888 |
} else |
|
5893 |
} else |
| 5889 |
if (total_in >= 0LL) { |
|
5894 |
if (total_in >= 0LL) { |
| 5890 |
total_in += bytes_in; |
|
5895 |
total_in += bytes_in; |
| 5891 |
} else { |
|
5896 |
} else { |
| 5892 |
|
|
5897 |
|
| 5893 |
} |
|
5898 |
} |
| 5894 |
if (bytes_out == -1LL) { |
|
5899 |
if (bytes_out == -1LL) { |
| 5895 |
total_out = (off_t )-1L; |
|
5900 |
total_out = (off_t )-1L; |
| 5896 |
header_bytes = (off_t )0; |
|
5901 |
header_bytes = (off_t )0; |
| 5897 |
bytes_out = header_bytes; |
|
5902 |
bytes_out = header_bytes; |
| 5898 |
bytes_in = bytes_out; |
|
5903 |
bytes_in = bytes_out; |
| 5899 |
} else |
|
5904 |
} else |
| 5900 |
if (total_out >= 0LL) { |
|
5905 |
if (total_out >= 0LL) { |
| 5901 |
total_out += bytes_out; |
|
5906 |
total_out += bytes_out; |
| 5902 |
} else { |
|
5907 |
} else { |
| 5903 |
|
|
5908 |
|
| 5904 |
} |
|
5909 |
} |
| 5905 |
display_ratio(bytes_out - (bytes_in - header_bytes), bytes_out, stdout); |
|
5910 |
display_ratio(bytes_out - (bytes_in - header_bytes), bytes_out, stdout); |
| 5906 |
printf((char const *)" %s\n", ofname); |
|
5911 |
printf((char const *)" %s\n", ofname); |
| 5907 |
return; |
|
5912 |
return; |
| 5908 |
} |
|
5913 |
} |
| 5909 |
} |
|
5914 |
} |
| 5910 |
static void shorten_name(char *name ) |
|
5915 |
static void shorten_name(char *name ) |
| 5911 |
{ |
|
5916 |
{ |
| 5912 |
int len ; |
|
5917 |
int len ; |
| 5913 |
char *trunc ; |
|
5918 |
char *trunc ; |
| 5914 |
int plen ; |
|
5919 |
int plen ; |
| 5915 |
int min_part ; |
|
5920 |
int min_part ; |
| 5916 |
char *p ; |
|
5921 |
char *p ; |
| 5917 |
size_t tmp ; |
|
5922 |
size_t tmp ; |
| 5918 |
size_t __s1_len ; |
|
5923 |
size_t __s1_len ; |
| 5919 |
size_t __s2_len ; |
|
5924 |
size_t __s2_len ; |
| 5920 |
int tmp___0 ; |
|
5925 |
int tmp___0 ; |
| 5921 |
int tmp___1 ; |
|
5926 |
int tmp___1 ; |
| 5922 |
int tmp___2 ; |
|
5927 |
int tmp___2 ; |
| 5923 |
unsigned char const *__s2 ; |
|
5928 |
unsigned char const *__s2 ; |
| 5924 |
register int __result ; |
|
5929 |
register int __result ; |
| 5925 |
int tmp___3 ; |
|
5930 |
int tmp___3 ; |
| 5926 |
unsigned char const *__s1 ; |
|
5931 |
unsigned char const *__s1 ; |
| 5927 |
register int __result___0 ; |
|
5932 |
register int __result___0 ; |
| 5928 |
int tmp___4 ; |
|
5933 |
int tmp___4 ; |
| 5929 |
int tmp___5 ; |
|
5934 |
int tmp___5 ; |
| 5930 |
int tmp___6 ; |
|
5935 |
int tmp___6 ; |
| 5931 |
char __r0 ; |
|
5936 |
char __r0 ; |
| 5932 |
char __r1 ; |
|
5937 |
char __r1 ; |
| 5933 |
char __r2 ; |
|
5938 |
char __r2 ; |
| 5934 |
unsigned int tmp___7 ; |
|
5939 |
unsigned int tmp___7 ; |
| 5935 |
size_t tmp___8 ; |
|
5940 |
size_t tmp___8 ; |
| 5936 |
size_t __attribute__((__gnu_inline__)) tmp___9 ; |
|
5941 |
size_t __attribute__((__gnu_inline__)) tmp___9 ; |
| 5937 |
size_t __attribute__((__gnu_inline__)) tmp___10 ; |
|
5942 |
size_t __attribute__((__gnu_inline__)) tmp___10 ; |
| 5938 |
size_t __attribute__((__gnu_inline__)) tmp___11 ; |
|
5943 |
size_t __attribute__((__gnu_inline__)) tmp___11 ; |
| 5939 |
unsigned int tmp___12 ; |
|
5944 |
unsigned int tmp___12 ; |
| 5940 |
size_t __attribute__((__gnu_inline__)) tmp___13 ; |
|
5945 |
size_t __attribute__((__gnu_inline__)) tmp___13 ; |
| 5941 |
size_t __attribute__((__gnu_inline__)) tmp___14 ; |
|
5946 |
size_t __attribute__((__gnu_inline__)) tmp___14 ; |
| 5942 |
size_t __attribute__((__gnu_inline__)) tmp___15 ; |
|
5947 |
size_t __attribute__((__gnu_inline__)) tmp___15 ; |
| 5943 |
size_t tmp___16 ; |
|
5948 |
size_t tmp___16 ; |
| 5944 |
unsigned int tmp___17 ; |
|
5949 |
unsigned int tmp___17 ; |
| 5945 |
char *tmp___18 ; |
|
5950 |
char *tmp___18 ; |
| 5946 |
|
|
5951 |
|
| 5947 |
{ |
|
5952 |
{ |
| 5948 |
trunc = (char *)((void *)0); |
|
5953 |
trunc = (char *)((void *)0); |
| 5949 |
min_part = 3; |
|
5954 |
min_part = 3; |
| 5950 |
tmp = strlen((char const *)name); |
|
5955 |
tmp = strlen((char const *)name); |
| 5951 |
len = (int )tmp; |
|
5956 |
len = (int )tmp; |
| 5952 |
if (decompress) { |
|
5957 |
if (decompress) { |
| 5953 |
if (len <= 1) { |
|
5958 |
if (len <= 1) { |
| 5954 |
gzip_error((char *)"name too short"); |
|
5959 |
gzip_error((char *)"name too short"); |
| 5955 |
} else { |
|
5960 |
} else { |
| 5956 |
|
|
5961 |
|
| 5957 |
} |
|
5962 |
} |
| 5958 |
*(name + (len - 1)) = (char )'\000'; |
|
5963 |
*(name + (len - 1)) = (char )'\000'; |
| 5959 |
return; |
|
5964 |
return; |
| 5960 |
} else { |
|
5965 |
} else { |
| 5961 |
|
|
5966 |
|
| 5962 |
} |
|
5967 |
} |
| 5963 |
p = get_suffix(name); |
|
5968 |
p = get_suffix(name); |
| 5964 |
if (! p) { |
|
5969 |
if (! p) { |
| 5965 |
gzip_error((char *)"can\'t recover suffix\n"); |
|
5970 |
gzip_error((char *)"can\'t recover suffix\n"); |
| 5966 |
} else { |
|
5971 |
} else { |
| 5967 |
|
|
5972 |
|
| 5968 |
} |
|
5973 |
} |
| 5969 |
*p = (char )'\000'; |
|
5974 |
*p = (char )'\000'; |
| 5970 |
save_orig_name = 1; |
|
5975 |
save_orig_name = 1; |
| 5971 |
if (len > 4) { |
|
5976 |
if (len > 4) { |
| 5972 |
if (0) { |
|
5977 |
if (0) { |
| 5973 |
__s1_len = strlen((char const *)(p - 4)); |
|
5978 |
__s1_len = strlen((char const *)(p - 4)); |
| 5974 |
__s2_len = strlen(".tar"); |
|
5979 |
__s2_len = strlen(".tar"); |
| 5975 |
if (! ((size_t )((void const *)((p - 4) + 1)) - (size_t )((void const *)(p - 4)) == 1U)) { |
|
5980 |
if (! ((size_t )((void const *)((p - 4) + 1)) - (size_t )((void const *)(p - 4)) == 1U)) { |
| 5976 |
goto _L___0; |
|
5981 |
goto _L___0; |
| 5977 |
} else |
|
5982 |
} else |
| 5978 |
if (__s1_len >= 4U) { |
|
5983 |
if (__s1_len >= 4U) { |
| 5979 |
_L___0: |
|
5984 |
_L___0: |
| 5980 |
if (! ((size_t )((void const *)(".tar" + 1)) - (size_t )((void const *)".tar") == 1U)) { |
|
5985 |
if (! ((size_t )((void const *)(".tar" + 1)) - (size_t )((void const *)".tar") == 1U)) { |
| 5981 |
tmp___6 = 1; |
|
5986 |
tmp___6 = 1; |
| 5982 |
} else |
|
5987 |
} else |
| 5983 |
if (__s2_len >= 4U) { |
|
5988 |
if (__s2_len >= 4U) { |
| 5984 |
tmp___6 = 1; |
|
5989 |
tmp___6 = 1; |
| 5985 |
} else { |
|
5990 |
} else { |
| 5986 |
tmp___6 = 0; |
|
5991 |
tmp___6 = 0; |
| 5987 |
} |
|
5992 |
} |
| 5988 |
} else { |
|
5993 |
} else { |
| 5989 |
tmp___6 = 0; |
|
5994 |
tmp___6 = 0; |
| 5990 |
} |
|
5995 |
} |
| 5991 |
if (tmp___6) { |
|
5996 |
if (tmp___6) { |
| 5992 |
tmp___1 = __builtin_strcmp((char const *)(p - 4), ".tar"); |
|
5997 |
tmp___1 = __builtin_strcmp((char const *)(p - 4), ".tar"); |
| 5993 |
tmp___5 = tmp___1; |
|
5998 |
tmp___5 = tmp___1; |
| 5994 |
} else { |
|
5999 |
} else { |
| 5995 |
tmp___4 = __builtin_strcmp((char const *)(p - 4), ".tar"); |
|
6000 |
tmp___4 = __builtin_strcmp((char const *)(p - 4), ".tar"); |
| 5996 |
tmp___5 = tmp___4; |
|
6001 |
tmp___5 = tmp___4; |
| 5997 |
} |
|
6002 |
} |
| 5998 |
} else { |
|
6003 |
} else { |
| 5999 |
tmp___4 = __builtin_strcmp((char const *)(p - 4), ".tar"); |
|
6004 |
tmp___4 = __builtin_strcmp((char const *)(p - 4), ".tar"); |
| 6000 |
tmp___5 = tmp___4; |
|
6005 |
tmp___5 = tmp___4; |
| 6001 |
} |
|
6006 |
} |
| 6002 |
if (tmp___5 == 0) { |
|
6007 |
if (tmp___5 == 0) { |
| |
|
-+ |
6008 |
{ |
| |
|
|
6009 |
if (p < 5) { |
| |
|
|
6010 |
return; |
| |
|
|
6011 |
} |
| 6003 |
strcpy((char *)(p - 4), |
= |
6012 |
strcpy((char *)(p - 4), |
| 6004 |
(char const *)".tgz"); |
|
6013 |
(char const *)".tgz"); |
| |
|
-+ |
6014 |
} |
| 6005 |
return; |
= |
6015 |
return; |
| 6006 |
} else { |
|
6016 |
} else { |
| 6007 |
|
|
6017 |
|
| 6008 |
} |
|
6018 |
} |
| 6009 |
} else { |
|
6019 |
} else { |
| 6010 |
|
|
6020 |
|
| 6011 |
} |
|
6021 |
} |
| 6012 |
while (1) { |
|
6022 |
while (1) { |
| 6013 |
p = strrchr((char const *)name, '/'); |
|
6023 |
p = strrchr((char const *)name, '/'); |
| 6014 |
if (p) { |
|
6024 |
if (p) { |
| 6015 |
p ++; |
|
6025 |
p ++; |
| 6016 |
} else { |
|
6026 |
} else { |
| 6017 |
p = name; |
|
6027 |
p = name; |
| 6018 |
} |
|
6028 |
} |
| 6019 |
while (*p) { |
|
6029 |
while (*p) { |
| 6020 |
tmp___17 = __builtin_strcspn((char const *)p, "."); |
|
6030 |
tmp___17 = __builtin_strcspn((char const *)p, "."); |
| 6021 |
plen = (int )tmp___17; |
|
6031 |
plen = (int )tmp___17; |
| 6022 |
p += plen; |
|
6032 |
p += plen; |
| 6023 |
if (plen > min_part) { |
|
6033 |
if (plen > min_part) { |
| 6024 |
trunc = p - 1; |
|
6034 |
trunc = p - 1; |
| 6025 |
} else { |
|
6035 |
} else { |
| 6026 |
|
|
6036 |
|
| 6027 |
} |
|
6037 |
} |
| 6028 |
if (*p) { |
|
6038 |
if (*p) { |
| 6029 |
p ++; |
|
6039 |
p ++; |
| 6030 |
} else { |
|
6040 |
} else { |
| 6031 |
|
|
6041 |
|
| 6032 |
} |
|
6042 |
} |
| 6033 |
} |
|
6043 |
} |
| 6034 |
if ((unsigned int )trunc == (unsigned int )((void *)0)) { |
|
6044 |
if ((unsigned int )trunc == (unsigned int )((void *)0)) { |
| 6035 |
min_part --; |
|
6045 |
min_part --; |
| 6036 |
if (min_part != 0) { |
|
6046 |
if (min_part != 0) { |
| 6037 |
|
|
6047 |
|
| 6038 |
} else { |
|
6048 |
} else { |
| 6039 |
break; |
|
6049 |
break; |
| 6040 |
} |
|
6050 |
} |
| 6041 |
} else { |
|
6051 |
} else { |
| 6042 |
break; |
|
6052 |
break; |
| 6043 |
} |
|
6053 |
} |
| 6044 |
} |
|
6054 |
} |
| 6045 |
if ((unsigned int )trunc != (unsigned int )((void *)0)) { |
|
6055 |
if ((unsigned int )trunc != (unsigned int )((void *)0)) { |
| 6046 |
while (1) { |
|
6056 |
while (1) { |
| 6047 |
*(trunc + 0) = *(trunc + 1); |
|
6057 |
*(trunc + 0) = *(trunc + 1); |
| 6048 |
tmp___18 = trunc; |
|
6058 |
tmp___18 = trunc; |
| 6049 |
trunc ++; |
|
6059 |
trunc ++; |
| 6050 |
if (*tmp___18) { |
|
6060 |
if (*tmp___18) { |
| 6051 |
|
|
6061 |
|
| 6052 |
} else { |
|
6062 |
} else { |
| 6053 |
break; |
|
6063 |
break; |
| 6054 |
} |
|
6064 |
} |
| 6055 |
} |
|
6065 |
} |
| 6056 |
trunc --; |
|
6066 |
trunc --; |
| 6057 |
} else { |
|
6067 |
} else { |
| 6058 |
trunc = strrchr((char const *)name, (int )*("." + 0)); |
|
6068 |
trunc = strrchr((char const *)name, (int )*("." + 0)); |
| 6059 |
if (! trunc) { |
|
6069 |
if (! trunc) { |
| 6060 |
gzip_error((char *)"internal error in shorten_name"); |
|
6070 |
gzip_error((char *)"internal error in shorten_name"); |
| 6061 |
} else { |
|
6071 |
} else { |
| 6062 |
|
|
6072 |
|
| 6063 |
} |
|
6073 |
} |
| 6064 |
if ((int )*(trunc + 1) == 0) { |
|
6074 |
if ((int )*(trunc + 1) == 0) { |
| 6065 |
trunc --; |
|
6075 |
trunc --; |
| 6066 |
} else { |
|
6076 |
} else { |
| 6067 |
|
|
6077 |
|
| 6068 |
} |
|
6078 |
} |
| 6069 |
} |
|
6079 |
} |
| 6070 |
strcpy((char *)trunc, |
|
6080 |
strcpy((char *)trunc, |
| 6071 |
(char const *)z_suffix); |
|
6081 |
(char const *)z_suffix); |
| 6072 |
return; |
|
6082 |
return; |
| 6073 |
} |
|
6083 |
} |
| 6074 |
} |
|
6084 |
} |
| 6075 |
static int check_ofname(void) |
|
6085 |
static int check_ofname(void) |
| 6076 |
{ |
|
6086 |
{ |
| 6077 |
int ok ; |
|
6087 |
int ok ; |
| 6078 |
int tmp ; |
|
6088 |
int tmp ; |
| 6079 |
int tmp___0 ; |
|
6089 |
int tmp___0 ; |
| 6080 |
int tmp___1 ; |
|
6090 |
int tmp___1 ; |
| 6081 |
|
|
6091 |
|
| 6082 |
{ |
|
6092 |
{ |
| 6083 |
if (! force) { |
|
6093 |
if (! force) { |
| 6084 |
ok = 0; |
|
6094 |
ok = 0; |
| 6085 |
fprintf((FILE *)stderr, |
|
6095 |
fprintf((FILE *)stderr, |
| 6086 |
(char const *)"%s: %s already exists;", |
|
6096 |
(char const *)"%s: %s already exists;", |
| 6087 |
program_name, ofname); |
|
6097 |
program_name, ofname); |
| 6088 |
if (foreground) { |
|
6098 |
if (foreground) { |
| 6089 |
tmp = fileno(stdin); |
|
6099 |
tmp = fileno(stdin); |
| 6090 |
tmp___0 = isatty(tmp); |
|
6100 |
tmp___0 = isatty(tmp); |
| 6091 |
if (tmp___0) { |
|
6101 |
if (tmp___0) { |
| 6092 |
fprintf((FILE *)stderr, |
|
6102 |
fprintf((FILE *)stderr, |
| 6093 |
(char const *)" do you wish to overwrite (y or n)? "); |
|
6103 |
(char const *)" do you wish to overwrite (y or n)? "); |
| 6094 |
rpl_fflush(stderr); |
|
6104 |
rpl_fflush(stderr); |
| 6095 |
ok = yesno(); |
|
6105 |
ok = yesno(); |
| 6096 |
} else { |
|
6106 |
} else { |
| 6097 |
|
|
6107 |
|
| 6098 |
} |
|
6108 |
} |
| 6099 |
} else { |
|
6109 |
} else { |
| 6100 |
|
|
6110 |
|
| 6101 |
} |
|
6111 |
} |
| 6102 |
if (! ok) { |
|
6112 |
if (! ok) { |
| 6103 |
fprintf((FILE *)stderr, |
|
6113 |
fprintf((FILE *)stderr, |
| 6104 |
(char const *)"\tnot overwritten\n"); |
|
6114 |
(char const *)"\tnot overwritten\n"); |
| 6105 |
if (exit_code == 0) { |
|
6115 |
if (exit_code == 0) { |
| 6106 |
exit_code = 2; |
|
6116 |
exit_code = 2; |
| 6107 |
} else { |
|
6117 |
} else { |
| 6108 |
|
|
6118 |
|
| 6109 |
} |
|
6119 |
} |
| 6110 |
return (1); |
|
6120 |
return (1); |
| 6111 |
} else { |
|
6121 |
} else { |
| 6112 |
|
|
6122 |
|
| 6113 |
} |
|
6123 |
} |
| 6114 |
} else { |
|
6124 |
} else { |
| 6115 |
|
|
6125 |
|
| 6116 |
} |
|
6126 |
} |
| 6117 |
tmp___1 = xunlink(ofname); |
|
6127 |
tmp___1 = xunlink(ofname); |
| 6118 |
if (tmp___1) { |
|
6128 |
if (tmp___1) { |
| 6119 |
progerror(ofname); |
|
6129 |
progerror(ofname); |
| 6120 |
return (1); |
|
6130 |
return (1); |
| 6121 |
} else { |
|
6131 |
} else { |
| 6122 |
|
|
6132 |
|
| 6123 |
} |
|
6133 |
} |
| 6124 |
return (0); |
|
6134 |
return (0); |
| 6125 |
} |
|
6135 |
} |
| 6126 |
} |
|
6136 |
} |
| 6127 |
static void copy_stat(struct stat *ifstat ) |
|
6137 |
static void copy_stat(struct stat *ifstat ) |
| 6128 |
{ |
|
6138 |
{ |
| 6129 |
mode_t mode ; |
|
6139 |
mode_t mode ; |
| 6130 |
int r ; |
|
6140 |
int r ; |
| 6131 |
struct timespec timespec[2] ; |
|
6141 |
struct timespec timespec[2] ; |
| 6132 |
int e ; |
|
6142 |
int e ; |
| 6133 |
int *tmp ; |
|
6143 |
int *tmp ; |
| 6134 |
int *tmp___0 ; |
|
6144 |
int *tmp___0 ; |
| 6135 |
int tmp___1 ; |
|
6145 |
int tmp___1 ; |
| 6136 |
int e___0 ; |
|
6146 |
int e___0 ; |
| 6137 |
int *tmp___2 ; |
|
6147 |
int *tmp___2 ; |
| 6138 |
int *tmp___3 ; |
|
6148 |
int *tmp___3 ; |
| 6139 |
|
|
6149 |
|
| 6140 |
{ |
|
6150 |
{ |
| 6141 |
mode = ifstat->st_mode & (unsigned int )((448 | (448 >> 3)) | ((448 >> 3) >> 3)); |
|
6151 |
mode = ifstat->st_mode & (unsigned int )((448 | (448 >> 3)) | ((448 >> 3) >> 3)); |
| 6142 |
timespec[0] = get_stat_atime((struct stat const *)ifstat); |
|
6152 |
timespec[0] = get_stat_atime((struct stat const *)ifstat); |
| 6143 |
timespec[1] = get_stat_mtime((struct stat const *)ifstat); |
|
6153 |
timespec[1] = get_stat_mtime((struct stat const *)ifstat); |
| 6144 |
if (decompress) { |
|
6154 |
if (decompress) { |
| 6145 |
if (0L <= time_stamp.tv_nsec) { |
|
6155 |
if (0L <= time_stamp.tv_nsec) { |
| 6146 |
if (timespec[1].tv_sec == time_stamp.tv_sec) { |
|
6156 |
if (timespec[1].tv_sec == time_stamp.tv_sec) { |
| 6147 |
if (timespec[1].tv_nsec == time_stamp.tv_nsec) { |
|
6157 |
if (timespec[1].tv_nsec == time_stamp.tv_nsec) { |
| 6148 |
|
|
6158 |
|
| 6149 |
} else { |
|
6159 |
} else { |
| 6150 |
goto _L; |
|
6160 |
goto _L; |
| 6151 |
} |
|
6161 |
} |
| 6152 |
} else { |
|
6162 |
} else { |
| 6153 |
_L: |
|
6163 |
_L: |
| 6154 |
timespec[1] = time_stamp; |
|
6164 |
timespec[1] = time_stamp; |
| 6155 |
if (verbose > 1) { |
|
6165 |
if (verbose > 1) { |
| 6156 |
fprintf((FILE *)stderr, |
|
6166 |
fprintf((FILE *)stderr, |
| 6157 |
(char const *)"%s: time stamp restored\n", |
|
6167 |
(char const *)"%s: time stamp restored\n", |
| 6158 |
ofname); |
|
6168 |
ofname); |
| 6159 |
} else { |
|
6169 |
} else { |
| 6160 |
|
|
6170 |
|
| 6161 |
} |
|
6171 |
} |
| 6162 |
} |
|
6172 |
} |
| 6163 |
} else { |
|
6173 |
} else { |
| 6164 |
|
|
6174 |
|
| 6165 |
} |
|
6175 |
} |
| 6166 |
} else { |
|
6176 |
} else { |
| 6167 |
|
|
6177 |
|
| 6168 |
} |
|
6178 |
} |
| 6169 |
tmp___1 = gl_futimens(ofd, (char const *)(ofname), |
|
6179 |
tmp___1 = gl_futimens(ofd, (char const *)(ofname), |
| 6170 |
(struct timespec const *)(timespec)); |
|
6180 |
(struct timespec const *)(timespec)); |
| 6171 |
if (tmp___1 != 0) { |
|
6181 |
if (tmp___1 != 0) { |
| 6172 |
tmp = __errno_location(); |
|
6182 |
tmp = __errno_location(); |
| 6173 |
e = *tmp; |
|
6183 |
e = *tmp; |
| 6174 |
if (! quiet) { |
|
6184 |
if (! quiet) { |
| 6175 |
fprintf((FILE *)stderr, |
|
6185 |
fprintf((FILE *)stderr, |
| 6176 |
(char const *)"%s: ", program_name); |
|
6186 |
(char const *)"%s: ", program_name); |
| 6177 |
} else { |
|
6187 |
} else { |
| 6178 |
|
|
6188 |
|
| 6179 |
} |
|
6189 |
} |
| 6180 |
if (exit_code == 0) { |
|
6190 |
if (exit_code == 0) { |
| 6181 |
exit_code = 2; |
|
6191 |
exit_code = 2; |
| 6182 |
} else { |
|
6192 |
} else { |
| 6183 |
|
|
6193 |
|
| 6184 |
} |
|
6194 |
} |
| 6185 |
if (! quiet) { |
|
6195 |
if (! quiet) { |
| 6186 |
tmp___0 = __errno_location(); |
|
6196 |
tmp___0 = __errno_location(); |
| 6187 |
*tmp___0 = e; |
|
6197 |
*tmp___0 = e; |
| 6188 |
perror((char const *)(ofname)); |
|
6198 |
perror((char const *)(ofname)); |
| 6189 |
} else { |
|
6199 |
} else { |
| 6190 |
|
|
6200 |
|
| 6191 |
} |
|
6201 |
} |
| 6192 |
} else { |
|
6202 |
} else { |
| 6193 |
|
|
6203 |
|
| 6194 |
} |
|
6204 |
} |
| 6195 |
fchown(ofd, ifstat->st_uid, ifstat->st_gid); |
|
6205 |
fchown(ofd, ifstat->st_uid, ifstat->st_gid); |
| 6196 |
r = fchmod(ofd, mode); |
|
6206 |
r = fchmod(ofd, mode); |
| 6197 |
if (r != 0) { |
|
6207 |
if (r != 0) { |
| 6198 |
tmp___2 = __errno_location(); |
|
6208 |
tmp___2 = __errno_location(); |
| 6199 |
e___0 = *tmp___2; |
|
6209 |
e___0 = *tmp___2; |
| 6200 |
if (! quiet) { |
|
6210 |
if (! quiet) { |
| 6201 |
fprintf((FILE *)stderr, |
|
6211 |
fprintf((FILE *)stderr, |
| 6202 |
(char const *)"%s: ", program_name); |
|
6212 |
(char const *)"%s: ", program_name); |
| 6203 |
} else { |
|
6213 |
} else { |
| 6204 |
|
|
6214 |
|
| 6205 |
} |
|
6215 |
} |
| 6206 |
if (exit_code == 0) { |
|
6216 |
if (exit_code == 0) { |
| 6207 |
exit_code = 2; |
|
6217 |
exit_code = 2; |
| 6208 |
} else { |
|
6218 |
} else { |
| 6209 |
|
|
6219 |
|
| 6210 |
} |
|
6220 |
} |
| 6211 |
if (! quiet) { |
|
6221 |
if (! quiet) { |
| 6212 |
tmp___3 = __errno_location(); |
|
6222 |
tmp___3 = __errno_location(); |
| 6213 |
*tmp___3 = e___0; |
|
6223 |
*tmp___3 = e___0; |
| 6214 |
perror((char const *)(ofname)); |
|
6224 |
perror((char const *)(ofname)); |
| 6215 |
} else { |
|
6225 |
} else { |
| 6216 |
|
|
6226 |
|
| 6217 |
} |
|
6227 |
} |
| 6218 |
} else { |
|
6228 |
} else { |
| 6219 |
|
|
6229 |
|
| 6220 |
} |
|
6230 |
} |
| 6221 |
return; |
|
6231 |
return; |
| 6222 |
} |
|
6232 |
} |
| 6223 |
} |
|
6233 |
} |
| 6224 |
static void treat_dir(int fd , char *dir ) |
|
6234 |
static void treat_dir(int fd , char *dir ) |
| 6225 |
{ |
|
6235 |
{ |
| 6226 |
struct dirent *dp ; |
|
6236 |
struct dirent *dp ; |
| 6227 |
DIR *dirp ; |
|
6237 |
DIR *dirp ; |
| 6228 |
char nbuf[1024] ; |
|
6238 |
char nbuf[1024] ; |
| 6229 |
int len ; |
|
6239 |
int len ; |
| 6230 |
size_t __s1_len ; |
|
6240 |
size_t __s1_len ; |
| 6231 |
size_t __s2_len ; |
|
6241 |
size_t __s2_len ; |
| 6232 |
int tmp ; |
|
6242 |
int tmp ; |
| 6233 |
int tmp___0 ; |
|
6243 |
int tmp___0 ; |
| 6234 |
int tmp___1 ; |
|
6244 |
int tmp___1 ; |
| 6235 |
unsigned char const *__s2 ; |
|
6245 |
unsigned char const *__s2 ; |
| 6236 |
register int __result ; |
|
6246 |
register int __result ; |
| 6237 |
int tmp___2 ; |
|
6247 |
int tmp___2 ; |
| 6238 |
unsigned char const *__s1 ; |
|
6248 |
unsigned char const *__s1 ; |
| 6239 |
register int __result___0 ; |
|
6249 |
register int __result___0 ; |
| 6240 |
int tmp___3 ; |
|
6250 |
int tmp___3 ; |
| 6241 |
int tmp___4 ; |
|
6251 |
int tmp___4 ; |
| 6242 |
int tmp___5 ; |
|
6252 |
int tmp___5 ; |
| 6243 |
size_t __s1_len___0 ; |
|
6253 |
size_t __s1_len___0 ; |
| 6244 |
size_t __s2_len___0 ; |
|
6254 |
size_t __s2_len___0 ; |
| 6245 |
int tmp___6 ; |
|
6255 |
int tmp___6 ; |
| 6246 |
int tmp___7 ; |
|
6256 |
int tmp___7 ; |
| 6247 |
int tmp___8 ; |
|
6257 |
int tmp___8 ; |
| 6248 |
unsigned char const *__s2___0 ; |
|
6258 |
unsigned char const *__s2___0 ; |
| 6249 |
register int __result___1 ; |
|
6259 |
register int __result___1 ; |
| 6250 |
int tmp___9 ; |
|
6260 |
int tmp___9 ; |
| 6251 |
unsigned char const *__s1___0 ; |
|
6261 |
unsigned char const *__s1___0 ; |
| 6252 |
register int __result___2 ; |
|
6262 |
register int __result___2 ; |
| 6253 |
int tmp___10 ; |
|
6263 |
int tmp___10 ; |
| 6254 |
int tmp___11 ; |
|
6264 |
int tmp___11 ; |
| 6255 |
int tmp___12 ; |
|
6265 |
int tmp___12 ; |
| 6256 |
size_t tmp___13 ; |
|
6266 |
size_t tmp___13 ; |
| 6257 |
int tmp___14 ; |
|
6267 |
int tmp___14 ; |
| 6258 |
size_t tmp___15 ; |
|
6268 |
size_t tmp___15 ; |
| 6259 |
int *tmp___16 ; |
|
6269 |
int *tmp___16 ; |
| 6260 |
int *tmp___17 ; |
|
6270 |
int *tmp___17 ; |
| 6261 |
int tmp___18 ; |
|
6271 |
int tmp___18 ; |
| 6262 |
|
|
6272 |
|
| 6263 |
{ |
|
6273 |
{ |
| 6264 |
dirp = fdopendir(fd); |
|
6274 |
dirp = fdopendir(fd); |
| 6265 |
if ((unsigned int )dirp == (unsigned int )((void *)0)) { |
|
6275 |
if ((unsigned int )dirp == (unsigned int )((void *)0)) { |
| 6266 |
progerror(dir); |
|
6276 |
progerror(dir); |
| 6267 |
close(fd); |
|
6277 |
close(fd); |
| 6268 |
return; |
|
6278 |
return; |
| 6269 |
} else { |
|
6279 |
} else { |
| 6270 |
|
|
6280 |
|
| 6271 |
} |
|
6281 |
} |
| 6272 |
while (1) { |
|
6282 |
while (1) { |
| 6273 |
tmp___16 = __errno_location(); |
|
6283 |
tmp___16 = __errno_location(); |
| 6274 |
*tmp___16 = 0; |
|
6284 |
*tmp___16 = 0; |
| 6275 |
dp = readdir(dirp); |
|
6285 |
dp = readdir(dirp); |
| 6276 |
if ((unsigned int )dp != (unsigned int )((void *)0)) { |
|
6286 |
if ((unsigned int )dp != (unsigned int )((void *)0)) { |
| 6277 |
|
|
6287 |
|
| 6278 |
} else { |
|
6288 |
} else { |
| 6279 |
break; |
|
6289 |
break; |
| 6280 |
} |
|
6290 |
} |
| 6281 |
if (0) { |
|
6291 |
if (0) { |
| 6282 |
__s1_len = strlen((char const *)(dp->d_name)); |
|
6292 |
__s1_len = strlen((char const *)(dp->d_name)); |
| 6283 |
__s2_len = strlen("."); |
|
6293 |
__s2_len = strlen("."); |
| 6284 |
if (! ((size_t )((void const *)(dp->d_name + 1)) - (size_t )((void const *)(dp->d_name)) == 1U)) { |
|
6294 |
if (! ((size_t )((void const *)(dp->d_name + 1)) - (size_t )((void const *)(dp->d_name)) == 1U)) { |
| 6285 |
goto _L___0; |
|
6295 |
goto _L___0; |
| 6286 |
} else |
|
6296 |
} else |
| 6287 |
if (__s1_len >= 4U) { |
|
6297 |
if (__s1_len >= 4U) { |
| 6288 |
_L___0: |
|
6298 |
_L___0: |
| 6289 |
if (! ((size_t )((void const *)("." + 1)) - (size_t )((void const *)".") == 1U)) { |
|
6299 |
if (! ((size_t )((void const *)("." + 1)) - (size_t )((void const *)".") == 1U)) { |
| 6290 |
tmp___5 = 1; |
|
6300 |
tmp___5 = 1; |
| 6291 |
} else |
|
6301 |
} else |
| 6292 |
if (__s2_len >= 4U) { |
|
6302 |
if (__s2_len >= 4U) { |
| 6293 |
tmp___5 = 1; |
|
6303 |
tmp___5 = 1; |
| 6294 |
} else { |
|
6304 |
} else { |
| 6295 |
tmp___5 = 0; |
|
6305 |
tmp___5 = 0; |
| 6296 |
} |
|
6306 |
} |
| 6297 |
} else { |
|
6307 |
} else { |
| 6298 |
tmp___5 = 0; |
|
6308 |
tmp___5 = 0; |
| 6299 |
} |
|
6309 |
} |
| 6300 |
if (tmp___5) { |
|
6310 |
if (tmp___5) { |
| 6301 |
tmp___0 = __builtin_strcmp((char const *)(dp->d_name), "."); |
|
6311 |
tmp___0 = __builtin_strcmp((char const *)(dp->d_name), "."); |
| 6302 |
tmp___4 = tmp___0; |
|
6312 |
tmp___4 = tmp___0; |
| 6303 |
} else { |
|
6313 |
} else { |
| 6304 |
tmp___3 = __builtin_strcmp((char const *)(dp->d_name), "."); |
|
6314 |
tmp___3 = __builtin_strcmp((char const *)(dp->d_name), "."); |
| 6305 |
tmp___4 = tmp___3; |
|
6315 |
tmp___4 = tmp___3; |
| 6306 |
} |
|
6316 |
} |
| 6307 |
} else { |
|
6317 |
} else { |
| 6308 |
tmp___3 = __builtin_strcmp((char const *)(dp->d_name), "."); |
|
6318 |
tmp___3 = __builtin_strcmp((char const *)(dp->d_name), "."); |
| 6309 |
tmp___4 = tmp___3; |
|
6319 |
tmp___4 = tmp___3; |
| 6310 |
} |
|
6320 |
} |
| 6311 |
if (tmp___4 == 0) { |
|
6321 |
if (tmp___4 == 0) { |
| 6312 |
continue; |
|
6322 |
continue; |
| 6313 |
} else { |
|
6323 |
} else { |
| 6314 |
if (0) { |
|
6324 |
if (0) { |
| 6315 |
__s1_len___0 = strlen((char const *)(dp->d_name)); |
|
6325 |
__s1_len___0 = strlen((char const *)(dp->d_name)); |
| 6316 |
__s2_len___0 = strlen(".."); |
|
6326 |
__s2_len___0 = strlen(".."); |
| 6317 |
if (! ((size_t )((void const *)(dp->d_name + 1)) - (size_t )((void const *)(dp->d_name)) == 1U)) { |
|
6327 |
if (! ((size_t )((void const *)(dp->d_name + 1)) - (size_t )((void const *)(dp->d_name)) == 1U)) { |
| 6318 |
goto _L___2; |
|
6328 |
goto _L___2; |
| 6319 |
} else |
|
6329 |
} else |
| 6320 |
if (__s1_len___0 >= 4U) { |
|
6330 |
if (__s1_len___0 >= 4U) { |
| 6321 |
_L___2: |
|
6331 |
_L___2: |
| 6322 |
if (! ((size_t )((void const *)(".." + 1)) - (size_t )((void const *)"..") == 1U)) { |
|
6332 |
if (! ((size_t )((void const *)(".." + 1)) - (size_t )((void const *)"..") == 1U)) { |
| 6323 |
tmp___12 = 1; |
|
6333 |
tmp___12 = 1; |
| 6324 |
} else |
|
6334 |
} else |
| 6325 |
if (__s2_len___0 >= 4U) { |
|
6335 |
if (__s2_len___0 >= 4U) { |
| 6326 |
tmp___12 = 1; |
|
6336 |
tmp___12 = 1; |
| 6327 |
} else { |
|
6337 |
} else { |
| 6328 |
tmp___12 = 0; |
|
6338 |
tmp___12 = 0; |
| 6329 |
} |
|
6339 |
} |
| 6330 |
} else { |
|
6340 |
} else { |
| 6331 |
tmp___12 = 0; |
|
6341 |
tmp___12 = 0; |
| 6332 |
} |
|
6342 |
} |
| 6333 |
if (tmp___12) { |
|
6343 |
if (tmp___12) { |
| 6334 |
tmp___7 = __builtin_strcmp((char const *)(dp->d_name), ".."); |
|
6344 |
tmp___7 = __builtin_strcmp((char const *)(dp->d_name), ".."); |
| 6335 |
tmp___11 = tmp___7; |
|
6345 |
tmp___11 = tmp___7; |
| 6336 |
} else { |
|
6346 |
} else { |
| 6337 |
tmp___10 = __builtin_strcmp((char const *)(dp->d_name), ".."); |
|
6347 |
tmp___10 = __builtin_strcmp((char const *)(dp->d_name), ".."); |
| 6338 |
tmp___11 = tmp___10; |
|
6348 |
tmp___11 = tmp___10; |
| 6339 |
} |
|
6349 |
} |
| 6340 |
} else { |
|
6350 |
} else { |
| 6341 |
tmp___10 = __builtin_strcmp((char const *)(dp->d_name), ".."); |
|
6351 |
tmp___10 = __builtin_strcmp((char const *)(dp->d_name), ".."); |
| 6342 |
tmp___11 = tmp___10; |
|
6352 |
tmp___11 = tmp___10; |
| 6343 |
} |
|
6353 |
} |
| 6344 |
if (tmp___11 == 0) { |
|
6354 |
if (tmp___11 == 0) { |
| 6345 |
continue; |
|
6355 |
continue; |
| 6346 |
} else { |
|
6356 |
} else { |
| 6347 |
|
|
6357 |
|
| 6348 |
} |
|
6358 |
} |
| 6349 |
} |
|
6359 |
} |
| 6350 |
tmp___13 = strlen((char const *)dir); |
|
6360 |
tmp___13 = strlen((char const *)dir); |
| 6351 |
len = (int )tmp___13; |
|
6361 |
len = (int )tmp___13; |
| 6352 |
tmp___15 = strlen((char const *)(dp->d_name)); |
|
6362 |
tmp___15 = strlen((char const *)(dp->d_name)); |
| 6353 |
if (((size_t )len + tmp___15) + 1U < 1023U) { |
|
6363 |
if (((size_t )len + tmp___15) + 1U < 1023U) { |
| 6354 |
strcpy((char *)(nbuf), |
|
6364 |
strcpy((char *)(nbuf), |
| 6355 |
(char const *)dir); |
|
6365 |
(char const *)dir); |
| 6356 |
if (len != 0) { |
|
6366 |
if (len != 0) { |
| 6357 |
tmp___14 = len; |
|
6367 |
tmp___14 = len; |
| 6358 |
len ++; |
|
6368 |
len ++; |
| 6359 |
nbuf[tmp___14] = (char )'/'; |
|
6369 |
nbuf[tmp___14] = (char )'/'; |
| 6360 |
} else { |
|
6370 |
} else { |
| 6361 |
|
|
6371 |
|
| 6362 |
} |
|
6372 |
} |
| 6363 |
strcpy((char *)(nbuf + len), |
|
6373 |
strcpy((char *)(nbuf + len), |
| 6364 |
(char const *)(dp->d_name)); |
|
6374 |
(char const *)(dp->d_name)); |
| 6365 |
treat_file(nbuf); |
|
6375 |
treat_file(nbuf); |
| 6366 |
} else { |
|
6376 |
} else { |
| 6367 |
fprintf((FILE *)stderr, |
|
6377 |
fprintf((FILE *)stderr, |
| 6368 |
(char const *)"%s: %s/%s: pathname too long\n", |
|
6378 |
(char const *)"%s: %s/%s: pathname too long\n", |
| 6369 |
program_name, dir, dp->d_name); |
|
6379 |
program_name, dir, dp->d_name); |
| 6370 |
exit_code = 1; |
|
6380 |
exit_code = 1; |
| 6371 |
} |
|
6381 |
} |
| 6372 |
} |
|
6382 |
} |
| 6373 |
tmp___17 = __errno_location(); |
|
6383 |
tmp___17 = __errno_location(); |
| 6374 |
if (*tmp___17 != 0) { |
|
6384 |
if (*tmp___17 != 0) { |
| 6375 |
progerror(dir); |
|
6385 |
progerror(dir); |
| 6376 |
} else { |
|
6386 |
} else { |
| 6377 |
|
|
6387 |
|
| 6378 |
} |
|
6388 |
} |
| 6379 |
tmp___18 = closedir(dirp); |
|
6389 |
tmp___18 = closedir(dirp); |
| 6380 |
if (tmp___18 != 0) { |
|
6390 |
if (tmp___18 != 0) { |
| 6381 |
progerror(dir); |
|
6391 |
progerror(dir); |
| 6382 |
} else { |
|
6392 |
} else { |
| 6383 |
|
|
6393 |
|
| 6384 |
} |
|
6394 |
} |
| 6385 |
return; |
|
6395 |
return; |
| 6386 |
} |
|
6396 |
} |
| 6387 |
} |
|
6397 |
} |
| 6388 |
static void install_signal_handlers(void) |
|
6398 |
static void install_signal_handlers(void) |
| 6389 |
{ |
|
6399 |
{ |
| 6390 |
int nsigs ; |
|
6400 |
int nsigs ; |
| 6391 |
int i ; |
|
6401 |
int i ; |
| 6392 |
struct sigaction act ; |
|
6402 |
struct sigaction act ; |
| 6393 |
int tmp ; |
|
6403 |
int tmp ; |
| 6394 |
|
|
6404 |
|
| 6395 |
{ |
|
6405 |
{ |
| 6396 |
nsigs = (int )(sizeof(handled_sig) / sizeof(handled_sig[0])); |
|
6406 |
nsigs = (int )(sizeof(handled_sig) / sizeof(handled_sig[0])); |
| 6397 |
sigemptyset(& caught_signals); |
|
6407 |
sigemptyset(& caught_signals); |
| 6398 |
i = 0; |
|
6408 |
i = 0; |
| 6399 |
while (i < nsigs) { |
|
6409 |
while (i < nsigs) { |
| 6400 |
sigaction(handled_sig[i], |
|
6410 |
sigaction(handled_sig[i], |
| 6401 |
(struct sigaction const *)((void *)0), |
|
6411 |
(struct sigaction const *)((void *)0), |
| 6402 |
(struct sigaction *)(& act)); |
|
6412 |
(struct sigaction *)(& act)); |
| 6403 |
if ((unsigned int )act.__sigaction_handler.sa_handler != (unsigned int )((void (*)(int ))1)) { |
|
6413 |
if ((unsigned int )act.__sigaction_handler.sa_handler != (unsigned int )((void (*)(int ))1)) { |
| 6404 |
sigaddset(& caught_signals, handled_sig[i]); |
|
6414 |
sigaddset(& caught_signals, handled_sig[i]); |
| 6405 |
} else { |
|
6415 |
} else { |
| 6406 |
|
|
6416 |
|
| 6407 |
} |
|
6417 |
} |
| 6408 |
i ++; |
|
6418 |
i ++; |
| 6409 |
} |
|
6419 |
} |
| 6410 |
act.__sigaction_handler.sa_handler = & abort_gzip_signal; |
|
6420 |
act.__sigaction_handler.sa_handler = & abort_gzip_signal; |
| 6411 |
act.sa_mask = caught_signals; |
|
6421 |
act.sa_mask = caught_signals; |
| 6412 |
act.sa_flags = 0; |
|
6422 |
act.sa_flags = 0; |
| 6413 |
i = 0; |
|
6423 |
i = 0; |
| 6414 |
while (i < nsigs) { |
|
6424 |
while (i < nsigs) { |
| 6415 |
tmp = sigismember((sigset_t const *)(& caught_signals), handled_sig[i]); |
|
6425 |
tmp = sigismember((sigset_t const *)(& caught_signals), handled_sig[i]); |
| 6416 |
if (tmp) { |
|
6426 |
if (tmp) { |
| 6417 |
if (i == 0) { |
|
6427 |
if (i == 0) { |
| 6418 |
foreground = 1; |
|
6428 |
foreground = 1; |
| 6419 |
} else { |
|
6429 |
} else { |
| 6420 |
|
|
6430 |
|
| 6421 |
} |
|
6431 |
} |
| 6422 |
sigaction(handled_sig[i], |
|
6432 |
sigaction(handled_sig[i], |
| 6423 |
(struct sigaction const *)(& act), |
|
6433 |
(struct sigaction const *)(& act), |
| 6424 |
(struct sigaction *)((void *)0)); |
|
6434 |
(struct sigaction *)((void *)0)); |
| 6425 |
} else { |
|
6435 |
} else { |
| 6426 |
|
|
6436 |
|
| 6427 |
} |
|
6437 |
} |
| 6428 |
i ++; |
|
6438 |
i ++; |
| 6429 |
} |
|
6439 |
} |
| 6430 |
return; |
|
6440 |
return; |
| 6431 |
} |
|
6441 |
} |
| 6432 |
} |
|
6442 |
} |
| 6433 |
static __attribute__((__noreturn__)) void do_exit(int exitcode ) ; |
|
6443 |
static __attribute__((__noreturn__)) void do_exit(int exitcode ) ; |
| 6434 |
static int in_exit = 0; |
|
6444 |
static int in_exit = 0; |
| 6435 |
static __attribute__((__noreturn__)) void do_exit(int exitcode ) ; |
|
6445 |
static __attribute__((__noreturn__)) void do_exit(int exitcode ) ; |
| 6436 |
static void do_exit(int exitcode ) |
|
6446 |
static void do_exit(int exitcode ) |
| 6437 |
{ |
|
6447 |
{ |
| 6438 |
|
|
6448 |
|
| 6439 |
|
|
6449 |
|
| 6440 |
{ |
|
6450 |
{ |
| 6441 |
if (in_exit) { |
|
6451 |
if (in_exit) { |
| 6442 |
exit(exitcode); |
|
6452 |
exit(exitcode); |
| 6443 |
} else { |
|
6453 |
} else { |
| 6444 |
|
|
6454 |
|
| 6445 |
} |
|
6455 |
} |
| 6446 |
in_exit = 1; |
|
6456 |
in_exit = 1; |
| 6447 |
free((void *)env); |
|
6457 |
free((void *)env); |
| 6448 |
env = (char *)((void *)0); |
|
6458 |
env = (char *)((void *)0); |
| 6449 |
free((void *)args); |
|
6459 |
free((void *)args); |
| 6450 |
args = (char **)((void *)0); |
|
6460 |
args = (char **)((void *)0); |
| 6451 |
exit(exitcode); |
|
6461 |
exit(exitcode); |
| 6452 |
} |
|
6462 |
} |
| 6453 |
} |
|
6463 |
} |
| 6454 |
static void remove_output_file(void) |
|
6464 |
static void remove_output_file(void) |
| 6455 |
{ |
|
6465 |
{ |
| 6456 |
int fd ; |
|
6466 |
int fd ; |
| 6457 |
sigset_t oldset ; |
|
6467 |
sigset_t oldset ; |
| 6458 |
|
|
6468 |
|
| 6459 |
{ |
|
6469 |
{ |
| 6460 |
sigprocmask(0, (sigset_t const *)(& caught_signals), |
|
6470 |
sigprocmask(0, (sigset_t const *)(& caught_signals), |
| 6461 |
(sigset_t *)(& oldset)); |
|
6471 |
(sigset_t *)(& oldset)); |
| 6462 |
fd = (int )remove_ofname_fd; |
|
6472 |
fd = (int )remove_ofname_fd; |
| 6463 |
if (0 <= fd) { |
|
6473 |
if (0 <= fd) { |
| 6464 |
remove_ofname_fd = (int volatile )-1; |
|
6474 |
remove_ofname_fd = (int volatile )-1; |
| 6465 |
close(fd); |
|
6475 |
close(fd); |
| 6466 |
xunlink(ofname); |
|
6476 |
xunlink(ofname); |
| 6467 |
} else { |
|
6477 |
} else { |
| 6468 |
|
|
6478 |
|
| 6469 |
} |
|
6479 |
} |
| 6470 |
sigprocmask(2, (sigset_t const *)(& oldset), |
|
6480 |
sigprocmask(2, (sigset_t const *)(& oldset), |
| 6471 |
(sigset_t *)((void *)0)); |
|
6481 |
(sigset_t *)((void *)0)); |
| 6472 |
return; |
|
6482 |
return; |
| 6473 |
} |
|
6483 |
} |
| 6474 |
} |
|
6484 |
} |
| 6475 |
__attribute__((__noreturn__)) void abort_gzip(void) ; |
|
6485 |
__attribute__((__noreturn__)) void abort_gzip(void) ; |
| 6476 |
void abort_gzip(void) |
|
6486 |
void abort_gzip(void) |
| 6477 |
{ |
|
6487 |
{ |
| 6478 |
|
|
6488 |
|
| 6479 |
|
|
6489 |
|
| 6480 |
{ |
|
6490 |
{ |
| 6481 |
remove_output_file(); |
|
6491 |
remove_output_file(); |
| 6482 |
do_exit(1); |
|
6492 |
do_exit(1); |
| 6483 |
} |
|
6493 |
} |
| 6484 |
} |
|
6494 |
} |
| 6485 |
static void abort_gzip_signal(int sig ) |
|
6495 |
static void abort_gzip_signal(int sig ) |
| 6486 |
{ |
|
6496 |
{ |
| 6487 |
|
|
6497 |
|
| 6488 |
|
|
6498 |
|
| 6489 |
{ |
|
6499 |
{ |
| 6490 |
remove_output_file(); |
|
6500 |
remove_output_file(); |
| 6491 |
if (sig == (int )exiting_signal) { |
|
6501 |
if (sig == (int )exiting_signal) { |
| 6492 |
_exit(2); |
|
6502 |
_exit(2); |
| 6493 |
} else { |
|
6503 |
} else { |
| 6494 |
|
|
6504 |
|
| 6495 |
} |
|
6505 |
} |
| 6496 |
signal(sig, (void (*)(int ))0); |
|
6506 |
signal(sig, (void (*)(int ))0); |
| 6497 |
raise(sig); |
|
6507 |
raise(sig); |
| 6498 |
return; |
|
6508 |
return; |
| 6499 |
} |
|
6509 |
} |
| 6500 |
} |
|
6510 |
} |